]> git.ipfire.org Git - thirdparty/samba.git/commit
wafsamba: filter out standard library paths from RPATH and LIBPATH
authorMichael Adam <obnox@samba.org>
Thu, 18 Dec 2014 20:36:07 +0000 (21:36 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 27 Jan 2015 10:02:16 +0000 (11:02 +0100)
commit573c4522f25f434b8dd3ceac622075d16c1d4eac
tree0498540f08a6fc41ec0506fee835d2cbe90fb14b
parent28e48f36c792b73e36b49c879d095d984cc75e69
wafsamba: filter out standard library paths from RPATH and LIBPATH

We should avoid passing them explicitly to the compiler/linker.

We ask the compiler with the '-print-search-dirs' argument
or fallback to [ '/usr/lib', '/usr/lib64' ].

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 707dc16987c982b75c83cd5b06d4373c23e777e0)
buildtools/wafsamba/samba_conftests.py
buildtools/wafsamba/samba_optimisation.py
buildtools/wafsamba/wscript