![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / x11 / qt6-qtbase / patches / patch-qmake_generators_makefile.cpp (download)
Revision 1.1, Thu Nov 24 11:11:38 2022 UTC (2 months, 1 week ago) by nros
Add qt6-qtbase version 6.4.1 to pkgsrc-current Qt6-qtbase is version 6 of the qtbase package of the Qt C++ GUI framework. This commit also adds qt6 meta-package needed for versioning and to be filled with more packages. |
$NetBSD: patch-qmake_generators_makefile.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $ Pass library path to linker. --- qmake/generators/makefile.cpp.orig 2019-08-31 08:29:31.000000000 +0000 +++ qmake/generators/makefile.cpp @@ -3387,7 +3387,7 @@ MakefileGenerator::writePkgConfigFile() pkgConfiglibName = bundle.toQString(); } else { if (!project->values("QMAKE_DEFAULT_LIBDIRS").contains(libDir)) - t << "-L${libdir} "; + t << "-Wl,-R${libdir} -L${libdir} "; pkgConfiglibName = "-l" + project->first("QMAKE_ORIG_TARGET"); if (project->isActiveConfig("shared")) pkgConfiglibName += project->first("TARGET_VERSION_EXT").toQString();