Commit 26941352 authored by Michal Policht's avatar Michal Policht

Add $ORIGIN to RUNPATH.

parent 954d439f
......@@ -38,6 +38,11 @@ CommonProduct {
targetName: name + (qbs.buildVariant.contains("debug") ? "d" : "")
}
Properties {
condition: qbs.targetOS.contains("linux")
cpp.linkerFlags: "-rpath=$ORIGIN"
}
Export {
cpp.defines: {
var defines = [product.macroName + "_" + product.major + "_" + product.minor]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment