summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-10-22 03:38:33 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-10-22 04:21:54 (GMT)
commit120fe54761b68e8e3679ef6816b7355d0f401341 (patch)
treeeb855223d9d465fba1941f0a8c8fcde3292c851f
parent9ef22c815277e0e93ed1137bb7f60c29a11bfb3c (diff)
downloadmxe-120fe54761b68e8e3679ef6816b7355d0f401341.zip
mxe-120fe54761b68e8e3679ef6816b7355d0f401341.tar.gz
mxe-120fe54761b68e8e3679ef6816b7355d0f401341.tar.bz2
gnutls: Use libgnurx instead of libpcreposix
It's more widely used and has fewer dependencies. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r--src/gnutls.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gnutls.mk b/src/gnutls.mk
index d559362..0e08717 100644
--- a/src/gnutls.mk
+++ b/src/gnutls.mk
@@ -8,7 +8,7 @@ $(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION)
$(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://mirrors.dotsrc.org/gnupg/gnutls/v3.2/$($(PKG)_FILE)
$(PKG)_URL_2 := ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2//$($(PKG)_FILE)
-$(PKG)_DEPS := gcc gettext gmp nettle pcre zlib
+$(PKG)_DEPS := gcc gettext gmp libgnurx nettle zlib
define $(PKG)_UPDATE
$(WGET) -q -O- ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/ | \
@@ -32,10 +32,7 @@ define $(PKG)_BUILD
--disable-doc \
--enable-local-libopts \
--with-included-libtasn1 \
- --with-libregex='$(PREFIX)/$(TARGET)' \
- --with-regex-header=pcreposix.h \
- --with-libregex-cflags="`'$(TARGET)-pkg-config' libpcreposix --cflags`" \
- --with-libregex-libs="`'$(TARGET)-pkg-config' libpcreposix --libs`" \
+ --with-libregex-libs="-lgnurx" \
--without-p11-kit \
--disable-silent-rules \
CPPFLAGS='-DWINVER=0x0501 -DAI_ADDRCONFIG=0x0400 -DIPV6_V6ONLY=27' \