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>
This commit is contained in:
parent
63942cf0f3
commit
e9463b482b
1 changed files with 1 additions and 4 deletions
|
@ -54,11 +54,8 @@ LIBS += $(SRC)/eap_common/libeap_common.a
|
||||||
LIBS += $(SRC)/l2_packet/libl2_packet.a
|
LIBS += $(SRC)/l2_packet/libl2_packet.a
|
||||||
LIBS += $(SRC)/utils/libutils.a
|
LIBS += $(SRC)/utils/libutils.a
|
||||||
|
|
||||||
ELIBS += $(SRC)/crypto/libcrypto.a
|
|
||||||
ELIBS += $(SRC)/tls/libtls.a
|
|
||||||
|
|
||||||
eapol-fuzzer: eapol-fuzzer.o $(LIBS)
|
eapol-fuzzer: eapol-fuzzer.o $(LIBS)
|
||||||
$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
|
$(LDO) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LIBS) -Wl,--end-group
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C $(SRC) clean
|
$(MAKE) -C $(SRC) clean
|
||||||
|
|
Loading…
Reference in a new issue