git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c3d2b
)
waf: fix setting of RPATH_ST variable
author
Björn Jacke
<bj@sernet.de>
Sun, 10 Feb 2019 02:41:50 +0000
(
03:41
+0100)
committer
Bjoern Jacke
<bjacke@samba.org>
Sun, 17 Feb 2019 12:33:15 +0000
(13:33 +0100)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
buildtools/wafsamba/wscript
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/wscript
b/buildtools/wafsamba/wscript
index 4ed3ae16b1a59af3a212fa9fd2e8622731af4f35..ab19859a83fe789f778017795f6c5e1349901309 100644
(file)
--- a/
buildtools/wafsamba/wscript
+++ b/
buildtools/wafsamba/wscript
@@
-315,7
+315,9
@@
def configure(conf):
break
# check which compiler/linker flags are needed for rpath support
- if not conf.CHECK_LDFLAGS(['-Wl,-rpath,.']) and conf.CHECK_LDFLAGS(['-Wl,-R,.']):
+ if conf.CHECK_LDFLAGS(['-Wl,-rpath,.']):
+ conf.env['RPATH_ST'] = '-Wl,-rpath,%s'
+ elif conf.CHECK_LDFLAGS(['-Wl,-R,.']):
conf.env['RPATH_ST'] = '-Wl,-R,%s'
# check for rpath