Only include C files that start with the plugin name when building for Android.
This commit is contained in:
1 parent
c5c6f9b6da
commit
e3dd6b1475
1 file changed
+3
-1
+3
-1
@@ -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 \
|
||||
) \
|
||||
) \
|
||||
) \
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user