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
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue