The Samba-Bugzilla – Attachment 13116 Details for
Bug 12724
LINKFLAGS_PYEMBED should not contain -L/some/path
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Possible patch for v4-6-test (without cherry-pick info yet)
tmp46.diff.txt (text/plain), 1.16 KB, created by
Stefan Metzmacher
on 2017-03-28 12:36:33 UTC
(
hide
)
Description:
Possible patch for v4-6-test (without cherry-pick info yet)
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2017-03-28 12:36:33 UTC
Size:
1.16 KB
patch
obsolete
>From 69d5c64b0b105f97651d9554296e58d17d63c978 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Tue, 28 Mar 2017 15:28:21 +0200 >Subject: [PATCH] wafsamba: move -L/some/path from LINKFLAGS_PYEMBED to > LIBPATH_PYEMBED > >LINKFLAGS should not have path components. > >This fixes the build on systems like FreeBSD where python >is located in /usr/local/lib. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12724 > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >--- > buildtools/wafsamba/samba_python.py | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py >index 057a017..271c180 100644 >--- a/buildtools/wafsamba/samba_python.py >+++ b/buildtools/wafsamba/samba_python.py >@@ -76,6 +76,12 @@ def _check_python_headers(conf, mandatory): > else: > conf.env['PYTHON_SO_ABI_FLAG'] = '' > >+ for lib in conf.env['LINKFLAGS_PYEMBED']: >+ if lib.startswith('-L'): >+ conf.env.append_value('LIBPATH_PYEMBED', lib[2:]) # strip '-L' >+ conf.env['LINKFLAGS_PYEMBED'].remove(lib) >+ >+ return > > def SAMBA_PYTHON(bld, name, > source='', >-- >1.9.1 >
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 12724
:
13115
|
13116
|
13131