summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-04-25 16:19:03 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-04-25 16:19:03 +0300
commitdb9f305b4954caa3e88ff480d8552b2685b55c97 (patch)
tree637d5d390cb732cf30d589d2a501f6753fc6480c
parent1abad528af69a5860d1de5aa2cca276ca9350297 (diff)
downloadqtlocation-mapboxgl-db9f305b4954caa3e88ff480d8552b2685b55c97.tar.gz
[Qt] Force lib install name to be executable path on OS X
-rw-r--r--platform/qt/platform.gyp5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/qt/platform.gyp b/platform/qt/platform.gyp
index aededb175f..3e22d18424 100644
--- a/platform/qt/platform.gyp
+++ b/platform/qt/platform.gyp
@@ -139,7 +139,10 @@
'link_settings': {
'conditions': [
['OS == "mac"', {
- 'xcode_settings': { 'OTHER_LDFLAGS': [ '-all_load' ] }
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [ '-all_load' ],
+ 'LD_DYLIB_INSTALL_NAME': '@executable_path/libqmapboxgl.so.<(qtlibversion)',
+ }
}]
],
},