summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2018-04-17 23:42:27 -0400
committerAndrew Morrow <acm@mongodb.com>2018-04-19 18:06:01 -0400
commit964469f09978ed5c9ca340aee4014269ed29a7ae (patch)
tree90ba2339fa3a8ed974be75487831154daf0d5ac7 /SConstruct
parentf39a2374e525e250dc145dfc36091038bb4a4fc0 (diff)
downloadmongo-964469f09978ed5c9ca340aee4014269ed29a7ae.tar.gz
SERVER-33911 Use @rpath instead of @loader_path for embedded SDK
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index a3e9f0556fe..3162f9b4c53 100644
--- a/SConstruct
+++ b/SConstruct
@@ -3224,11 +3224,11 @@ if get_option('install-mode') == 'hygienic':
)
elif env['PLATFORM'] == 'darwin':
env.AppendUnique(
- LINKFLAGS=[
+ PROGLINKFLAGS=[
'-Wl,-rpath,@loader_path/../lib'
],
SHLINKFLAGS=[
- "-Wl,-install_name,@loader_path/../lib/${TARGET.file}",
+ "-Wl,-install_name,@rpath/${TARGET.file}",
],
)