Skip to content

Commit 173129f

Browse files
committed
Pass on the LD_RUN_PATH environment variable.
This is set by conda build system on Linux. The patchelf utility seems to work better when the original binary contains RPATH.
1 parent d8b7c00 commit 173129f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def pyconfigvar(name):
4646
# copy system environment variables related to compilation
4747
DefaultEnvironment(ENV=subdictionary(os.environ, '''
4848
PATH PYTHONPATH GIT_DIR
49-
CPATH CPLUS_INCLUDE_PATH LIBRARY_PATH
49+
CPATH CPLUS_INCLUDE_PATH LIBRARY_PATH LD_RUN_PATH
5050
LD_LIBRARY_PATH DYLD_LIBRARY_PATH DYLD_FALLBACK_LIBRARY_PATH
5151
MACOSX_DEPLOYMENT_TARGET
5252
'''.split())

0 commit comments

Comments
 (0)