1
0
forked from pool/virtualbox
virtualbox/fix_ordering_of_qt_includes.patch

14 lines
650 B
Diff
Raw Normal View History

Index: VirtualBox-6.1.26/configure
===================================================================
--- VirtualBox-6.1.26.orig/configure
+++ VirtualBox-6.1.26/configure
@@ -1561,7 +1561,7 @@ EOF
qt5_ver=`pkg-config Qt5Core --modversion 2>> $LOG`
if [ $? -eq 0 ]; then
echo "(Qt5 from pkg-config)" >> $LOG
- FLGQT5=`pkg-config Qt5Core Qt5Gui --cflags`
+ FLGQT5=`pkg-config Qt5Core --cflags`
# gcc 4.8 is able to compile with C++11 (see also VBOX_GCC_std in Config.kmk)
[ $(($cc_maj * 100 + $cc_min)) -ge 408 ] && FLGQT5="$FLGQT5 -std=c++11"
INCQT5=`strip_I "$FLGQT5"`