mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
wpa_passphrase: Include $(LIBS) for linking
wpa_passphrase requires libcrypto from OpenSSL (or another selected library). User can set an alternative path to OpenSSL libraries by defining LIBS at the top of .config but if $(LIBS) is not actually used wrong libcrypto is used or compilation fails if there is no libcrypto in the default locations cc is looking for it. It's especially bad for cross-compilers that fail with 'cannot find -lcrypto' message. Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
This commit is contained in:
parent
4b07484c3d
commit
14dcb22a5b
@ -1868,7 +1868,7 @@ preauth_test: $(OBJS_t2)
|
||||
@$(E) " LD " $@
|
||||
|
||||
wpa_passphrase: $(OBJS_p)
|
||||
$(Q)$(LDO) $(LDFLAGS) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
|
||||
$(Q)$(LDO) $(LDFLAGS) -o wpa_passphrase $(OBJS_p) $(LIBS_p) $(LIBS)
|
||||
@$(E) " LD " $@
|
||||
|
||||
wpa_cli: $(OBJS_c)
|
||||
|
Loading…
Reference in New Issue
Block a user