aboutsummaryrefslogtreecommitdiffstats
path: root/tests/eapol-fuzzer
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-12-09 16:36:48 (GMT)
committerJouni Malinen <j@w1.fi>2017-12-09 16:36:48 (GMT)
commite9463b482b81905d07ad6189fdbbba780fda0e26 (patch)
tree9921641713ead569585e808108ec2dae0ce40088 /tests/eapol-fuzzer
parent63942cf0f309e067bc5bfef95194bd17e48bf5ef (diff)
downloadhostap-e9463b482b81905d07ad6189fdbbba780fda0e26.zip
hostap-e9463b482b81905d07ad6189fdbbba780fda0e26.tar.gz
hostap-e9463b482b81905d07ad6189fdbbba780fda0e26.tar.bz2
eapol-fuzzer: Resolve circular library references with --start-group
src/crypto/libcrypto.a and src/tls/libtls.a have circular references and will need special handling with the linker at least for the time being. This could be cleaned up eventually, but for now, provide a mechanism to get the program linked. This was already done in tests/Makefile, but tests/eapol-fuzzer/Makefile needs the same. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests/eapol-fuzzer')
-rw-r--r--tests/eapol-fuzzer/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/eapol-fuzzer/Makefile b/tests/eapol-fuzzer/Makefile
index f5a9a57..b7fff6e 100644
--- a/tests/eapol-fuzzer/Makefile
+++ b/tests/eapol-fuzzer/Makefile
@@ -54,11 +54,8 @@ LIBS += $(SRC)/eap_common/libeap_common.a
LIBS += $(SRC)/l2_packet/libl2_packet.a
LIBS += $(SRC)/utils/libutils.a
-ELIBS += $(SRC)/crypto/libcrypto.a
-ELIBS += $(SRC)/tls/libtls.a
-
eapol-fuzzer: eapol-fuzzer.o $(LIBS)
- $(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
+ $(LDO) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LIBS) -Wl,--end-group
clean:
$(MAKE) -C $(SRC) clean