qt6.qtbase: help qmysql find the mysql

This commit is contained in:
K900
2024-03-08 14:18:25 +03:00
parent 8f09155148
commit f31b1c7b9b
@@ -263,6 +263,9 @@ stdenv.mkDerivation rec {
moveToOutput "mkspecs/modules" "$dev"
fixQtModulePaths "$dev/mkspecs/modules"
fixQtBuiltinPaths "$out" '*.pr?'
# FIXME: not sure why this isn't added automatically?
patchelf --add-rpath "${libmysqlclient}/lib/mariadb" $out/${qtPluginPrefix}/sqldrivers/libqsqlmysql.so
'';
dontStrip = debugSymbols;