[vlc-devel] [PATCH] contrib: qtsvg: fix qmake call when cross compiling
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jun 19 12:38:12 CEST 2018
It's only installed when cross compiling
---
contrib/src/qtsvg/rules.mak | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/src/qtsvg/rules.mak b/contrib/src/qtsvg/rules.mak
index 9784b51ffdb..d82c727be0a 100644
--- a/contrib/src/qtsvg/rules.mak
+++ b/contrib/src/qtsvg/rules.mak
@@ -25,7 +25,11 @@ qtsvg: qtsvg-$(QTSVG_VERSION).tar.xz .sum-qtsvg
$(MOVE)
.qtsvg: qtsvg
+ifdef HAVE_CROSS_COMPILE
cd $< && $(PREFIX)/bin/qmake
+else
+ cd $< && ../qt/bin/qmake
+endif
# Make && Install libraries
cd $< && $(MAKE)
cd $< && $(MAKE) -C src sub-plugins-install_subtargets sub-svg-install_subtargets
--
2.17.0
More information about the vlc-devel
mailing list