diff options
author | Clement Brisset <gh@brisset.dev> | 2024-05-23 11:14:53 -0700 |
---|---|---|
committer | Atlante45 <clement.brisset@gmail.com> | 2024-05-23 11:14:53 -0700 |
commit | 9721a772042402e1f32c4f053e9354751dda35c0 (patch) | |
tree | 4ac287fd4805ebff4b7e5d2aa2a2db96162ecdce /src | |
parent | ac6ccd53dff5a43050ad8a0922c8fa47e69333a8 (diff) | |
download | afl++-9721a772042402e1f32c4f053e9354751dda35c0.tar.gz |
Fix dynamic_lookup linker flag for Apple clang
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-cc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index fa3318de..469aad13 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -2366,8 +2366,7 @@ static void add_aflpplib(aflcc_state_t *aflcc) { insert_param(aflcc, afllib); #ifdef __APPLE__ - insert_param(aflcc, "-Wl,-undefined"); - insert_param(aflcc, "dynamic_lookup"); + insert_param(aflcc, "-Wl,-undefined,dynamic_lookup"); #endif } |