[packages/crossmingw32-gdk-pixbuf2] - updated meson cross settings

qboosh qboosh at pld-linux.org
Thu Sep 5 21:19:07 CEST 2019


commit f9096f40d1453e8f033e1cf015f3982eb7f95e27
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Sep 5 21:21:50 2019 +0200

    - updated meson cross settings

 crossmingw32-gdk-pixbuf2.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/crossmingw32-gdk-pixbuf2.spec b/crossmingw32-gdk-pixbuf2.spec
index 056605d..71c417c 100644
--- a/crossmingw32-gdk-pixbuf2.spec
+++ b/crossmingw32-gdk-pixbuf2.spec
@@ -47,10 +47,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_libdir			%{_prefix}/lib
 %define		_pkgconfigdir		%{_prefix}/lib/pkgconfig
 %define		_dlldir			/usr/share/wine/windows/system
-%define		__cc			%{target}-gcc
-%define		__cxx			%{target}-g++
 %define		__pkgconfig_provides	%{nil}
 %define		__pkgconfig_requires	%{nil}
+# for meson 0.50+, keep __cc/__cxx as host compiler and pass %{target}-* in meson-cross.txt
 
 %ifnarch %{ix86}
 # arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
@@ -115,7 +114,7 @@ cpu_family = 'x86'
 cpu = 'i386'
 endian='little'
 [binaries]
-c = '%{__cc}'
+c = '%{target}-gcc'
 ar = '%{target}-ar'
 windres = '%{target}-windres'
 pkgconfig = 'pkg-config'
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-gdk-pixbuf2.git/commitdiff/f9096f40d1453e8f033e1cf015f3982eb7f95e27



More information about the pld-cvs-commit mailing list