Skip to content

Commit e6b42aa

Browse files
committed
Fixed m_bundleLibraryDirectory.
1 parent 404af80 commit e6b42aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shared.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ LibraryInfo Deploy::parseLddLibraryLine(const QString &line,
314314
Q_UNUSED(rpaths);
315315

316316
if (fhsLikeMode) {
317-
this->m_bundleLibraryDirectory= "lib"; // relative to bundle
318-
} else {
319-
QString relativePrefix = fhsPrefix.replace(appDirPath+"/", "");
317+
QString relativePrefix = fhsPrefix.replace(appDirPath + "/", "");
320318
this->m_bundleLibraryDirectory = relativePrefix + "/lib/";
319+
} else {
320+
this->m_bundleLibraryDirectory = "lib"; // relative to bundle
321321
}
322322

323323
LogDebug() << "bundleLibraryDirectory:" << this->m_bundleLibraryDirectory;

0 commit comments

Comments
 (0)