mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
linked staticly. This allows it to be used from devd at startup. [1] Use LIB_DEPENDS instead of BUILD_DEPENDS for the libdnet depend since we need it to run too. [2] My changes differ from the submitted fixes. Submitted by: Darren Pilgrim <dmp at bitfreak dot org> [1] Pawel Worach <pawel dot worach at gmail dot com> [2]
14 lines
330 B
Text
14 lines
330 B
Text
|
|
$FreeBSD$
|
|
|
|
--- Makefile.orig
|
|
+++ Makefile
|
|
@@ -303,7 +303,7 @@
|
|
OBJS += wpa_supplicant.o wpa.o l2_packet.o drivers.o
|
|
|
|
wpa_supplicant: .config $(OBJS)
|
|
- $(CC) -o wpa_supplicant $(OBJS) $(LIBS)
|
|
+ $(CC) ${SUPPLICANT_STATIC} -o wpa_supplicant $(OBJS) $(LIBS)
|
|
|
|
eapol_test: .config $(OBJS_t)
|
|
$(CC) -o eapol_test $(OBJS_t) $(LIBS)
|