diff options
author | van Hauser <vh@thc.org> | 2023-12-01 18:43:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 18:43:30 +0100 |
commit | 21f874c165f7e331c785fde6c141cef36c26920a (patch) | |
tree | e4228c0de15ef90a8338a6a913f07dffde460126 /src | |
parent | 858e0bfd05894d07630d8a56bb25d56a8206b2b7 (diff) | |
parent | 3fc9e680f3f0bcd19372941b88d8dde1e73dbdf3 (diff) | |
download | afl++-21f874c165f7e331c785fde6c141cef36c26920a.tar.gz |
Merge pull request #1917 from Romain-Geissler-1A/dev
Stop hardcoding the path /usr/local/lib/afl in afl-ld-lto.c and respect the configured PREFIX
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-ld-lto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-ld-lto.c b/src/afl-ld-lto.c index b1e6c848..7ce5de41 100644 --- a/src/afl-ld-lto.c +++ b/src/afl-ld-lto.c @@ -278,7 +278,7 @@ int main(int argc, char **argv) { if (getenv("AFL_LD_PASSTHROUGH") != NULL) passthrough = 1; if (getenv("AFL_REAL_LD") != NULL) real_ld = getenv("AFL_REAL_LD"); - if (!afl_path || !*afl_path) afl_path = "/usr/local/lib/afl"; + if (!afl_path || !*afl_path) afl_path = AFL_PATH; setenv("AFL_LD_CALLER", "1", 1); |