Do not hardcode the path to the strongSwan sources.
This commit is contained in:
+3
-2
@@ -12,8 +12,9 @@ add_plugin = $(if $(call plugin_enabled,$(1)), \
|
|||||||
$(addprefix plugins/$(subst -,_,$(strip $(1))/),$(2)))
|
$(addprefix plugins/$(subst -,_,$(strip $(1))/),$(2)))
|
||||||
|
|
||||||
# includes
|
# includes
|
||||||
libvstr_PATH = external/strongswan-support/vstr/include
|
strongswan_PATH := $(LOCAL_PATH)
|
||||||
libgmp_PATH = external/strongswan-support/gmp
|
libvstr_PATH := external/strongswan-support/vstr/include
|
||||||
|
libgmp_PATH := external/strongswan-support/gmp
|
||||||
|
|
||||||
# CFLAGS (partially from a configure run using droid-gcc)
|
# CFLAGS (partially from a configure run using droid-gcc)
|
||||||
strongswan_CFLAGS := \
|
strongswan_CFLAGS := \
|
||||||
|
|||||||
@@ -214,8 +214,8 @@ LOCAL_SRC_FILES += $(call add_plugin, socket-dynamic, \
|
|||||||
|
|
||||||
LOCAL_C_INCLUDES += \
|
LOCAL_C_INCLUDES += \
|
||||||
$(libvstr_PATH) \
|
$(libvstr_PATH) \
|
||||||
external/strongswan/src/include \
|
$(strongswan_PATH)/src/include \
|
||||||
external/strongswan/src/libstrongswan
|
$(strongswan_PATH)/src/libstrongswan
|
||||||
|
|
||||||
LOCAL_CFLAGS := $(strongswan_CFLAGS)
|
LOCAL_CFLAGS := $(strongswan_CFLAGS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user