summaryrefslogtreecommitdiff
path: root/package/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'package/openvpn')
-rw-r--r--package/openvpn/openvpn.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index 49584f875..56dc03dd1 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -9,14 +9,14 @@ OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.gz
OPENVPN_SITE = http://openvpn.net/release
OPENVPN_DEPENDENCIES = lzo openssl uclibc
+OPENVPN_CONF_OPT = --enable-small
+
ifeq ($(BR2_PTHREADS_NATIVE),y)
- THREAD_MODEL="--enable-threads=posix"
+ OPENVPN_CONF_OPT += --enable-threads=posix
else
- THREAD_MODEL="--enable-pthread"
+ OPENVPN_CONF_OPT += --enable-pthread
endif
-OPENVPN_CONF_OPT = --enable-small $(THREAD_MODEL)
-
$(eval $(call AUTOTARGETS,package,openvpn))
$(OPENVPN_TARGET_INSTALL_TARGET):