From db9f305b4954caa3e88ff480d8552b2685b55c97 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Mon, 25 Apr 2016 16:19:03 +0300 Subject: [PATCH] [Qt] Force lib install name to be executable path on OS X --- platform/qt/platform.gyp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/qt/platform.gyp b/platform/qt/platform.gyp index aededb175..3e22d1842 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)', + } }] ], },