mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
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".
This commit is contained in:
parent
d0184cb25c
commit
4c2660c2b0
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user