summaryrefslogtreecommitdiffstats
path: root/src/libgpg_error.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2015-04-22 21:20:37 (GMT)
committerMark Brand <mabrand@mabrand.nl>2015-04-22 21:58:09 (GMT)
commitaf473838da7dae93e013f96a933ed2bd1a5b29aa (patch)
treecf1d2f02bf269ff673bfb5e2902968303c8bc7b0 /src/libgpg_error.mk
parent4abe15b0ffda9b2ffa2fccb6e40d268c15d1e840 (diff)
downloadmxe-af473838da7dae93e013f96a933ed2bd1a5b29aa.zip
mxe-af473838da7dae93e013f96a933ed2bd1a5b29aa.tar.gz
mxe-af473838da7dae93e013f96a933ed2bd1a5b29aa.tar.bz2
libgpg_error: update
Diffstat (limited to 'src/libgpg_error.mk')
-rw-r--r--src/libgpg_error.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libgpg_error.mk b/src/libgpg_error.mk
index 81641f4..d481095 100644
--- a/src/libgpg_error.mk
+++ b/src/libgpg_error.mk
@@ -3,8 +3,8 @@
PKG := libgpg_error
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.12
-$(PKG)_CHECKSUM := 259f359cd1440b21840c3a78e852afd549c709b8
+$(PKG)_VERSION := 1.19
+$(PKG)_CHECKSUM := 4997951ab058788de48b989013668eb3df1e6939
$(PKG)_SUBDIR := libgpg-error-$($(PKG)_VERSION)
$(PKG)_FILE := libgpg-error-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := http://mirrors.dotsrc.org/gcrypt/libgpg-error/$($(PKG)_FILE)
@@ -18,10 +18,13 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ cd '$(1)/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.static.h
+ cd '$(1)/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.shared.h
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-nls \
--disable-languages
+ $(SED) -i 's/-lgpg-error/-lgpg-error -lintl -liconv/;' '$(1)/src/gpg-error-config'
$(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)/src' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
ln -sf '$(PREFIX)/$(TARGET)/bin/gpg-error-config' '$(PREFIX)/bin/$(TARGET)-gpg-error-config'