summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openvpn/Android.mk2
-rw-r--r--openvpn/config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/openvpn/Android.mk b/openvpn/Android.mk
index 4c12b15a..b27ef794 100644
--- a/openvpn/Android.mk
+++ b/openvpn/Android.mk
@@ -11,7 +11,7 @@ LOCAL_SHARED_LIBRARIES := libssl libcrypto
LOCAL_STATIC_LIBRARIES := liblzo-static
-LOCAL_CFLAGS= -DHAVE_CONFIG_H
+LOCAL_CFLAGS= -DHAVE_CONFIG_H -DTARGET_ABI=\"${TARGET_ABI}\"
LOCAL_MODULE = openvpn
LOCAL_SRC_FILES:= \
diff --git a/openvpn/config.h b/openvpn/config.h
index e7e54dc5..6684f70d 100644
--- a/openvpn/config.h
+++ b/openvpn/config.h
@@ -490,7 +490,7 @@
#define TAP_WIN32_MIN_MINOR 1
/* A string representing our target */
-#define TARGET_ALIAS "arm-linux-androideabi"
+#define TARGET_ALIAS TARGET_ABI
/* Are we running on Mac OS X? */
/* #undef TARGET_DARWIN */