diff options
author | Romain Geissler <romain.geissler@amadeus.com> | 2023-12-01 16:28:33 +0000 |
---|---|---|
committer | Romain Geissler <romain.geissler@amadeus.com> | 2023-12-01 16:28:33 +0000 |
commit | 3fc9e680f3f0bcd19372941b88d8dde1e73dbdf3 (patch) | |
tree | e4228c0de15ef90a8338a6a913f07dffde460126 /src | |
parent | 858e0bfd05894d07630d8a56bb25d56a8206b2b7 (diff) | |
download | afl++-3fc9e680f3f0bcd19372941b88d8dde1e73dbdf3.tar.gz |
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); |