From: Pavel Roskin Date: Sat, 7 Feb 2009 08:05:23 +0000 (+0200) Subject: Fix building dynamic EAP peer modules X-Git-Tag: hostap_0_7_0~557 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c2660c2b0a04ebd2eee968f356188ec31f9b635;p=thirdparty%2Fhostap.git Fix building dynamic EAP peer modules Strip directory name from the target in the pattern rule for dynamic modules. Remove dynamic modules on "make clean". --- diff --git a/src/eap_peer/Makefile b/src/eap_peer/Makefile index 37d649c52..2fcda6a64 100644 --- a/src/eap_peer/Makefile +++ b/src/eap_peer/Makefile @@ -3,4 +3,4 @@ all: clean: for d in $(SUBDIRS); do make -C $$d clean; done - rm -f *~ *.o *.d + rm -f *~ *.o *.so *.d diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 87b6092fe..052ba64cb 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1157,7 +1157,7 @@ eap_ikev2.so: ../src/eap_peer/eap_ikev2.c ../src/eap_peer/ikev2.c ../src/eap_com %.so: %.c $(CC) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $< \ - -D$(*:eap_%=eap_peer_%)_register=eap_peer_method_dynamic_init + -D$(*F:eap_%=eap_peer_%)_register=eap_peer_method_dynamic_init wpa_supplicant.exe: wpa_supplicant