aboutsummaryrefslogtreecommitdiffstats
path: root/qbs-resources/imports/QbsLibrary.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'qbs-resources/imports/QbsLibrary.qbs')
-rw-r--r--qbs-resources/imports/QbsLibrary.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbs-resources/imports/QbsLibrary.qbs b/qbs-resources/imports/QbsLibrary.qbs
index 4d05ea004..474b67343 100644
--- a/qbs-resources/imports/QbsLibrary.qbs
+++ b/qbs-resources/imports/QbsLibrary.qbs
@@ -9,7 +9,7 @@ QbsProduct {
targetName: (qbs.enableDebugCode && qbs.targetOS.contains("windows")) ? (name + 'd') : name
destinationDirectory: qbs.targetOS.contains("windows") ? "bin" : project.libDirName
cpp.defines: base.concat(type == "staticlibrary" ? ["QBS_STATIC_LIB"] : ["QBS_LIBRARY"])
- cpp.installNamePrefix: "@rpath"
+ cpp.sonamePrefix: qbs.targetOS.contains("darwin") ? "@rpath" : undefined
cpp.visibility: "minimal"
cpp.cxxLanguageVersion: "c++11"
bundle.isBundle: false