diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-04-25 16:19:03 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-04-25 16:19:03 +0300 |
commit | db9f305b4954caa3e88ff480d8552b2685b55c97 (patch) | |
tree | 637d5d390cb732cf30d589d2a501f6753fc6480c | |
parent | 1abad528af69a5860d1de5aa2cca276ca9350297 (diff) | |
download | qtlocation-mapboxgl-db9f305b4954caa3e88ff480d8552b2685b55c97.tar.gz |
[Qt] Force lib install name to be executable path on OS X
-rw-r--r-- | platform/qt/platform.gyp | 5 |
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)', + } }] ], }, |