[vlc-commits] contrib/gpg-error: fix compilation for macOS when cross-compiling
Felix Paul Kühne
git at videolan.org
Fri Feb 2 14:46:05 CET 2018
vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Wed Jan 24 21:37:40 2018 +0100| [7f0d8272cad17d1d9363100bcfc63ad76b3d59de] | committer: Felix Paul Kühne
contrib/gpg-error: fix compilation for macOS when cross-compiling
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f0d8272cad17d1d9363100bcfc63ad76b3d59de
---
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
More information about the vlc-commits
mailing list