summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/openvpn.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/openvpn.mk b/make/openvpn.mk
index faacedac7..50624ad64 100644
--- a/make/openvpn.mk
+++ b/make/openvpn.mk
@@ -19,7 +19,7 @@ $(DL_DIR)/$(OPENVPN_SOURCE):
openvpn-source: $(DL_DIR)/$(OPENVPN_SOURCE)
-$(OPENVPN_DIR)/.unpacked: $(DL_DIR)/$(OPENVPN_SOURCE)
+$(OPENVPN_DIR)/.unpacked: $(DL_DIR)/$(OPENVPN_SOURCE) lzo openssl
$(OPENVPN_CAT) $(DL_DIR)/$(OPENVPN_SOURCE) | tar -C $(BUILD_DIR) -xvf -
#cat $(OPENVPN_PATCH) | patch -p1 -d $(OPENVPN_DIR)
touch $(OPENVPN_DIR)/.unpacked
@@ -42,6 +42,7 @@ $(OPENVPN_DIR)/.configured: $(OPENVPN_DIR)/.unpacked
--mandir=/usr/man \
--infodir=/usr/info \
--program-prefix="" \
+ --enable-pthread \
);
touch $(OPENVPN_DIR)/.configured
@@ -55,7 +56,7 @@ $(TARGET_DIR)/$(OPENVPN_TARGET_BINARY): $(OPENVPN_DIR)/$(OPENVPN_BINARY)
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
-openvpn: uclibc lzo $(TARGET_DIR)/$(OPENVPN_TARGET_BINARY)
+openvpn: uclibc $(TARGET_DIR)/$(OPENVPN_TARGET_BINARY)
openvpn-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(OPENVPN_DIR) uninstall