[vlc-devel] [PATCH 2/4] contrib/gpg-error: fix compilation for macOS when cross-compiling
Felix Paul Kühne
fkuehne at videolan.org
Wed Jan 24 23:57:57 CET 2018
From: Felix Paul Kühne <felix at feepk.net>
---
contrib/src/gpg-error/rules.mak | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/contrib/src/gpg-error/rules.mak b/contrib/src/gpg-error/rules.mak
index 025fdc0455..7ec95c1f47 100644
--- a/contrib/src/gpg-error/rules.mak
+++ b/contrib/src/gpg-error/rules.mak
@@ -32,11 +32,15 @@ ifeq ($(TIZEN_ABI), x86)
cp $@/src/syscfg/lock-obj-pub.i686-pc-linux-gnu.h $@/src/syscfg/lock-obj-pub.linux-gnueabi.h
endif
endif
-ifdef HAVE_IOS
+ifdef HAVE_DARWIN_OS
ifdef HAVE_ARMV7A
cp $@/src/syscfg/lock-obj-pub.arm-apple-darwin.h $@/src/syscfg/lock-obj-pub.$(HOST).h
else
+ifeq ($(ARCH),aarch64)
cp $@/src/syscfg/lock-obj-pub.aarch64-apple-darwin.h $@/src/syscfg/lock-obj-pub.$(HOST).h
+else
+ cp $@/src/syscfg/lock-obj-pub.x86_64-apple-darwin.h $@/src/syscfg/lock-obj-pub.$(HOST).h
+endif
endif
endif
--
2.15.1
More information about the vlc-devel
mailing list