mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
Only include C files that start with the plugin name when building for Android.
This commit is contained in:
parent
c5c6f9b6da
commit
e3dd6b1475
@ -12,7 +12,9 @@ plugin_enabled = $(findstring $(1), $(strongswan_PLUGINS))
|
||||
add_plugin = $(if $(call plugin_enabled,$(1)), \
|
||||
$(patsubst $(LOCAL_PATH)/%,%, \
|
||||
$(wildcard \
|
||||
$(LOCAL_PATH)/plugins/$(subst -,_,$(strip $(1)))/*.c \
|
||||
$(subst %,$(subst -,_,$(strip $(1))), \
|
||||
$(LOCAL_PATH)/plugins/%/%*.c \
|
||||
) \
|
||||
) \
|
||||
) \
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user