[vlc-commits] contrib/gpg-error: fix compilation for x86_64 on macOS

Felix Paul Kühne git at videolan.org
Wed Jan 22 17:31:40 CET 2020


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Wed Jan 22 17:07:16 2020 +0100| [18f1ff6d899c3127346d4952b66a02fafa431e3e] | committer: Felix Paul Kühne

contrib/gpg-error: fix compilation for x86_64 on macOS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18f1ff6d899c3127346d4952b66a02fafa431e3e
---

 contrib/src/gpg-error/rules.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/gpg-error/rules.mak b/contrib/src/gpg-error/rules.mak
index badf00cf57..b36cc57344 100644
--- a/contrib/src/gpg-error/rules.mak
+++ b/contrib/src/gpg-error/rules.mak
@@ -41,10 +41,12 @@ ifneq ($(HOST),aarch64-apple-darwin)
 	cp $@/src/syscfg/lock-obj-pub.aarch64-apple-darwin.h $@/src/syscfg/lock-obj-pub.$(HOST).h
 endif
 else
+ifneq ($(ARCH),x86_64)
 	cp $@/src/syscfg/lock-obj-pub.x86_64-apple-darwin.h $@/src/syscfg/lock-obj-pub.$(HOST).h
 endif
 endif
 endif
+endif
 ifdef HAVE_NACL
 ifeq ($(ARCH),i386) # 32bits intel
 	cp $@/src/syscfg/lock-obj-pub.i686-pc-linux-gnu.h $@/src/syscfg/lock-obj-pub.nacl.h



More information about the vlc-commits mailing list