]> git.pld-linux.org Git - packages/VirtualBox.git/blame - qt-detect.patch
- fix braindead qt5 includedir detection
[packages/VirtualBox.git] / qt-detect.patch
CommitLineData
4796a4c8
JR
1--- VirtualBox-6.1.26/configure~ 2021-09-10 08:38:49.000000000 +0200
2+++ VirtualBox-6.1.26/configure 2021-09-10 09:01:11.297646984 +0200
3@@ -1564,7 +1564,7 @@
4 FLGQT5=`pkg-config Qt5Core Qt5Gui --cflags`
5 # gcc 4.8 is able to compile with C++11 (see also VBOX_GCC_std in Config.kmk)
6 [ $(($cc_maj * 100 + $cc_min)) -ge 408 ] && FLGQT5="$FLGQT5 -std=c++11"
7- INCQT5=`strip_I "$FLGQT5"`
8+ INCQT5=`pkg-config Qt5Core --variable=includedir`
9 LIBDIR5=`pkg-config Qt5Core --variable=libdir`
10 LIBQT5=`pkg-config Qt5Core Qt5Gui --libs`
11 LIBQT5="-L$LIBDIR5 $LIBQT5"
This page took 0.077293 seconds and 4 git commands to generate.