aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libgpg-error/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/libgpg-error/Makefile')
-rw-r--r--tools/depends/target/libgpg-error/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/tools/depends/target/libgpg-error/Makefile b/tools/depends/target/libgpg-error/Makefile
index b4c0714af3..358ba1a5ec 100644
--- a/tools/depends/target/libgpg-error/Makefile
+++ b/tools/depends/target/libgpg-error/Makefile
@@ -1,14 +1,16 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile
+DEPS= ../../Makefile.include Makefile libgpg-error-1.36-gawk5-support.patch
# lib name, version
LIBNAME=libgpg-error
-VERSION=1.27
+VERSION=1.36
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.bz2
# configuration settings
CONFIGURE=./configure --prefix=$(PREFIX) \
+ --disable-doc \
+ --disable-tests \
--disable-languages \
--disable-nls --disable-shared
@@ -22,14 +24,11 @@ $(TARBALLS_LOCATION)/$(ARCHIVE):
$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
+ cd $(PLATFORM); patch -p1 -i ../libgpg-error-1.36-gawk5-support.patch
+ cd $(PLATFORM); $(AUTORECONF) -vif
cd $(PLATFORM); $(CONFIGURE)
$(LIBDYLIB): $(PLATFORM)
-ifeq ($(OS),ios)
-ifeq ($(CPU),arm64)
- cp $(PLATFORM)/src/syscfg/lock-obj-pub.aarch64-apple-darwin.h $(PLATFORM)/src/syscfg/lock-obj-pub.arm-apple-darwin.h
-endif
-endif
ifeq ($(OS),android)
ifeq ($(CPU),arm64-v8a)
cp lock-obj-pub.aarch64-unknown-linux-android.h $(PLATFORM)/src/syscfg/lock-obj-pub.linux-android.h