File fix_lib_search.patch of Package virtualbox.openSUSE_Leap_15.3_Update

Index: VirtualBox-6.1.40/configure
===================================================================
--- VirtualBox-6.1.40.orig/configure
+++ VirtualBox-6.1.40/configure
@@ -1591,14 +1591,14 @@ EOF
         INCQT5="$q/include $q/include/QtCore"
         FLGQT5="-DQT_SHARED"
         I_INCQT5=`prefix_I "$INCQT5"`
-        LIBQT5="-L$q/lib -lQt5CoreVBox -lQt5GuiVBox"
+        LIBQT5="-L$q/lib -L$q/usr/lib64 -lQt5CoreVBox -lQt5GuiVBox"
         TOOLQT5="$q"
         if test_compile "$LIBQT5 $LIBPTHREAD $I_INCQT5 $FLGQT5" qt5 qt5 nofatal &&
             test_execute_path "`L_to_PATH "$LIBQT5"`" nofatal; then
           foundqt5=2 # internal
           break;
         fi
-        LIBQT5="-L$q/lib -lQt5Core -lQt5Gui"
+        LIBQT5="-L$q/lib -L$q/usr/lib64 -lQt5Core -lQt5Gui"
         if test_compile "$LIBQT5 $LIBPTHREAD $I_INCQT5 $FLGQT5" qt5 qt5 nofatal &&
             test_execute_path "`L_to_PATH "$LIBQT5"`" nofatal; then
           foundqt5=1 # no pkg-config, Qt directory
openSUSE Build Service is sponsored by