From: Tobias Brunner Date: Thu, 20 May 2010 10:01:12 +0000 (+0200) Subject: Only include C files that start with the plugin name when building for Android. X-Git-Tag: 4.4.1~238 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3dd6b1475b53daed0869496a649ac05d7169ba0;p=thirdparty%2Fstrongswan.git Only include C files that start with the plugin name when building for Android. --- diff --git a/Android.mk.in b/Android.mk.in index 4a4b7df96d..6277861eda 100644 --- a/Android.mk.in +++ b/Android.mk.in @@ -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 \ + ) \ ) \ ) \ )