diff options
author | Andrew Morrow <acm@mongodb.com> | 2018-04-17 23:42:27 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2018-04-19 18:06:01 -0400 |
commit | 964469f09978ed5c9ca340aee4014269ed29a7ae (patch) | |
tree | 90ba2339fa3a8ed974be75487831154daf0d5ac7 /SConstruct | |
parent | f39a2374e525e250dc145dfc36091038bb4a4fc0 (diff) | |
download | mongo-964469f09978ed5c9ca340aee4014269ed29a7ae.tar.gz |
SERVER-33911 Use @rpath instead of @loader_path for embedded SDK
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
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}", ], ) |