| 1 | Search the "extra libs" in GUIX_KF5INIT_LIB_PATH (which basically is a
|
| 2 | collection of all /lib directories). We can not hard-code the full path to the
|
| 3 | libsKF5Plasam, since adding palse-workspace
|
| 4 |
|
| 5 | Adopted from NixOS
|
| 6 | pkgs/development/libraries/kde-frameworks/kinit/kdeinit-extra_libs.patch
|
| 7 |
|
| 8 | ===================================================================
|
| 9 | |
| 10 | |
| 11 | @@ -96,9 +96,9 @@
|
| 12 | "libKF5Parts.5.dylib",
|
| 13 | "libKF5Plasma.5.dylib"
|
| 14 | #else
|
| 15 | - "libKF5KIOCore.so.5",
|
| 16 | - "libKF5Parts.so.5",
|
| 17 | - "libKF5Plasma.so.5"
|
| 18 | + "GUIX_PKGS_KF5_KIO/lib/libKF5KIOCore.so.5",
|
| 19 | + "GUIX_PKGS_KF5_PARTS/lib/libKF5Parts.so.5",
|
| 20 | + "GUIX_PKGS_KF5_PLASMA/lib/libKF5Plasma.so.5"
|
| 21 | #endif
|
| 22 | };
|
| 23 | #endif
|
| 24 | @@ -1673,7 +1673,7 @@
|
| 25 | #if defined(Q_OS_UNIX) && !defined(Q_OS_OSX)
|
| 26 | if (!d.suicide && qEnvironmentVariableIsEmpty("KDE_IS_PRELINKED")) {
|
| 27 | for (const char *extra_lib : extra_libs) {
|
| 28 | - const QString extra = findSharedLib(QString::fromLatin1(extra_lib));
|
| 29 | + const QString extra = QString::fromLatin1(extra_lib);
|
| 30 | if (!extra.isEmpty()) {
|
| 31 | QLibrary l(extra);
|
| 32 | l.setLoadHints(QLibrary::ExportExternalSymbolsHint);
|