diff options
| author | van Hauser <vh@thc.org> | 2021-10-12 14:29:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-12 14:29:30 +0200 |
| commit | ea05d4ed134f69fc8df12c27c4fa633aea45484b (patch) | |
| tree | 5929c6441dbc42f9ba27e4e8b2397657b2c0cd73 /frida_mode/GNUmakefile | |
| parent | 28df6d5a576b4ddc241223f2908d0f42ba7ef0bd (diff) | |
| parent | 269dc29efe920abf3935d2052e11dfb94ec799e2 (diff) | |
| download | afl++-ea05d4ed134f69fc8df12c27c4fa633aea45484b.tar.gz | |
Merge pull request #1115 from devnexen/frida_mode_build_fix_non_x8664_arch
frida mode fix on x86_64 archs
Diffstat (limited to 'frida_mode/GNUmakefile')
| -rw-r--r-- | frida_mode/GNUmakefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frida_mode/GNUmakefile b/frida_mode/GNUmakefile index ab6efecf..4d6d7147 100644 --- a/frida_mode/GNUmakefile +++ b/frida_mode/GNUmakefile @@ -30,9 +30,7 @@ AFL_CFLAGS:=-Wno-unused-parameter \ LDFLAGS+=-shared \ -lpthread \ - -lresolv \ - -ldl \ - -lrt + -lresolv ifdef DEBUG CFLAGS+=-Werror \ @@ -72,7 +70,9 @@ ifdef DEBUG endif LDFLAGS+= -z noexecstack \ -Wl,--gc-sections \ - -Wl,--exclude-libs,ALL + -Wl,--exclude-libs,ALL \ + -ldl \ + -lrt LDSCRIPT:=-Wl,--version-script=$(PWD)frida.map endif |
