qt6.qtbase: fix build on darwin

This commit is contained in:
Weijia Wang 2024-03-09 19:02:08 +01:00
parent 9289a0678e
commit 3840cf197b

View File

@ -263,6 +263,7 @@ stdenv.mkDerivation rec {
moveToOutput "mkspecs/modules" "$dev"
fixQtModulePaths "$dev/mkspecs/modules"
fixQtBuiltinPaths "$out" '*.pr?'
'' + lib.optionalString stdenv.isLinux ''
# FIXME: not sure why this isn't added automatically?
patchelf --add-rpath "${libmysqlclient}/lib/mariadb" $out/${qtPluginPrefix}/sqldrivers/libqsqlmysql.so