aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/Exporter/pkgconfig/pkgconfig.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/qbs/modules/Exporter/pkgconfig/pkgconfig.js')
-rw-r--r--share/qbs/modules/Exporter/pkgconfig/pkgconfig.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/Exporter/pkgconfig/pkgconfig.js b/share/qbs/modules/Exporter/pkgconfig/pkgconfig.js
index a3109d61d..093be4c4b 100644
--- a/share/qbs/modules/Exporter/pkgconfig/pkgconfig.js
+++ b/share/qbs/modules/Exporter/pkgconfig/pkgconfig.js
@@ -83,7 +83,7 @@ function collectAutodetectedData(topLevelProduct)
|| (value.length > installPrefix.length && value[installPrefix.length] !== '/')) {
return quotedValue;
}
- return quotedValue.replace(product.qbs.installPrefix, "${prefix}");
+ return quotedValue.replace(topLevelProduct.qbs.installPrefix, "${prefix}");
}
function transformedValue(product, moduleName, propertyName)