Skip to content

Commit

Permalink
wpa: Fix gcc build
Browse files Browse the repository at this point in the history
Order of libraries still matters with GCC toolchains. Moving the
wpapasn library before the wpacommon specification resolves the link
problem.

This issue was not detected by make universe.

Fixes:		a90b9d0
MFC after:	2 months
X-MFC with:	a90b9d0
  • Loading branch information
cschuber committed Jul 24, 2024
1 parent 124ae0e commit 8880825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr.sbin/wpa/wpa_supplicant/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CFLAGS+=-DCONFIG_BACKEND_FILE
LIBADD+=pcap util wpadrivers wpaeapol_supp \
wpaeap_server \
wpaeap_peer wpaeap_common wpal2_packet wparsn_supp wpatls wpawps \
wpacommon wpacrypto wpautils wpapasn
wpapasn wpacommon wpacrypto wpautils

# User customizations to the wpa_supplicant build environment
CFLAGS+=${WPA_SUPPLICANT_CFLAGS}
Expand Down

0 comments on commit 8880825

Please sign in to comment.