The Samba-Bugzilla – Attachment 10550 Details for
Bug 10112
Use -R linker flag on Solaris, not -rpath (waf needs better compiler AND linker recognition)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that checks for correct linker flags for rpath
rpath.patch (text/plain), 954 bytes, created by
Ralph Böhme
on 2014-12-18 17:26:17 UTC
(
hide
)
Description:
Patch that checks for correct linker flags for rpath
Filename:
MIME Type:
Creator:
Ralph Böhme
Created:
2014-12-18 17:26:17 UTC
Size:
954 bytes
patch
obsolete
>From 424d1fd1751c60c52c1479bf573cd76e904c8bda Mon Sep 17 00:00:00 2001 >From: Ralph Boehme <slow@samba.org> >Date: Thu, 18 Dec 2014 06:37:28 +0100 >Subject: [PATCH] wafsamba: check for rpath compiler/linker flags > >Signed-off-by: Ralph Boehme <slow@samba.org> >--- > buildtools/wafsamba/wscript | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript >index 1a2cfe6..1a30d2f 100755 >--- a/buildtools/wafsamba/wscript >+++ b/buildtools/wafsamba/wscript >@@ -295,6 +295,10 @@ def configure(conf): > headers='stdio.h', > msg='Checking simple C program') > >+ # check which compiler/linker flags are needed for rpath support >+ if not conf.CHECK_LDFLAGS(['-Wl,-rpath,.']) and conf.CHECK_LDFLAGS(['-Wl,-R,.']): >+ conf.env['RPATH_ST'] = '-Wl,-R,%s' >+ > # check for rpath > if conf.CHECK_LIBRARY_SUPPORT(rpath=True): > support_rpath = True >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 10112
:
9160
|
9215
|
10550
|
10563
|
10564