android: Remove/filter header files from LOCAL_SRC_FILES
[strongswan.git] / src / libtncif / Android.mk
index a337a0d..9a9bfa9 100644 (file)
@@ -2,11 +2,13 @@ LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
 # copy-n-paste from Makefile.am
-LOCAL_SRC_FILES := \
+libtncif_la_SOURCES := \
 tncif.h tncifimc.h tncifimv.h tncif_names.h tncif_names.c \
 tncif_identity.h tncif_identity.c \
 tncif_pa_subtypes.h tncif_pa_subtypes.c
 
+LOCAL_SRC_FILES := $(filter %.c,$(libtncif_la_SOURCES))
+
 # build libtncif ---------------------------------------------------------------
 
 LOCAL_C_INCLUDES += \