vlc | branch: master | Felix Paul Kühne <fe...@feepk.net> | Wed Jan 24 21:37:40 
2018 +0100| [a48b98b1b40a153b29d7a2f8ca3f7349a9e10188] | 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=a48b98b1b40a153b29d7a2f8ca3f7349a9e10188
---

 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
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to