nixpkgs/pkgs/applications/virtualization/virtualbox/fix-configure-pkgconfig-qt.patch
Markus Partheymueller 5701e5bc3b
virtualbox: 6.1.22 -> 6.1.26 (#132223)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-08-02 16:40:32 +02:00

12 lines
534 B
Diff

Index: /trunk/configure
===================================================================
--- a/configure (revision 90360)
+++ b/configure (revision 90377)
@@ -1588,5 +1588,5 @@
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"