summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba/samba_utils.py')
-rw-r--r--buildtools/wafsamba/samba_utils.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index b989f91252..335313e5dc 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -64,9 +64,8 @@ def ADD_LD_LIBRARY_PATH(path):
def install_rpath(bld):
'''the rpath value for installation'''
bld.env['RPATH'] = []
- bld.env['RPATH_ST'] = []
if bld.env.RPATH_ON_INSTALL:
- return ['-Wl,-rpath=%s/lib' % bld.env.PREFIX]
+ return ['%s/lib' % bld.env.PREFIX]
return []
@@ -74,9 +73,8 @@ def build_rpath(bld):
'''the rpath value for build'''
rpath = os.path.normpath('%s/%s' % (bld.env.BUILD_DIRECTORY, LIB_PATH))
bld.env['RPATH'] = []
- bld.env['RPATH_ST'] = []
if bld.env.RPATH_ON_BUILD:
- return ['-Wl,-rpath=%s' % rpath]
+ return [rpath]
ADD_LD_LIBRARY_PATH(rpath)
return []