1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/buildtools/wafsamba
Michael Adam 707dc16987 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>
2015-01-08 23:38:07 +01:00
..
tests wafsamba.abi: Fix abi_match with both excludes and includes. 2012-11-06 08:27:44 +11:00
__init__.py waf: Add initial unit test for samba_utils. 2012-02-12 18:44:09 +01:00
configure_file.py wafsamba: Add a CONFIGURE_FILE option. 2012-09-07 10:48:57 +02:00
gccdeps.py wafsamba: Remove shebang lines from non-executable files. 2012-03-15 15:56:27 +01:00
generic_cc.py wafsamba: Expand tabs. 2012-02-10 00:07:56 +01:00
hpuxcc.py build: hpux didn't support -Bdynamic 2010-12-15 12:07:32 +03:00
irixcc.py wafsamba/irixcc: next try to inject '-c99' the the build 2012-06-20 12:58:57 +02:00
nothreads.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
pkgconfig.py build: fixed dependencies on install prefix for pc files and python scripts 2011-06-15 14:13:07 +10:00
README build: tidy up the wafsamba rules a bit 2010-04-06 20:27:14 +10:00
samba3.py Fix more pep8 issues in code I touched recently. 2014-10-14 06:44:06 +02:00
samba_abi.py wafsamba: fix samba_abi for default catch-all case 2013-04-09 20:29:18 +02:00
samba_autoconf.py wafsamba: make it possible to specify ADDITIONAL_{CFLAGS,LDFLAGS} as env var to ./configure 2015-01-08 23:38:07 +01:00
samba_autoproto.py waf: fixed the build with a space in the source directory 2010-11-21 23:10:14 +11:00
samba_bundled.py wafsamba: fill PRIVATE_NAME() logic again 2014-12-19 13:15:12 +01:00
samba_conftests.py wafsamba: filter out standard library paths from RPATH and LIBPATH 2015-01-08 23:38:07 +01:00
samba_cross.py build: fixed uname output to be on target machine when cross compiling 2010-04-21 15:16:01 +10:00
samba_deps.py Reduce the no-op build times by 30% 2014-10-03 13:25:18 +02:00
samba_dist.py build: rename argument of list_directory_files(): abspath->path 2014-06-20 23:38:10 +02:00
samba_headers.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
samba_install.py wafsamba: If we define a realname and a soname create a symlink. 2012-10-22 09:04:21 +02:00
samba_optimisation.py wafsamba: filter out standard library paths from RPATH and LIBPATH 2015-01-08 23:38:07 +01:00
samba_patterns.py wafsamba: let SAMBA_BLDOPTIONS() use dep_vars=['defines'] instead of always=True 2014-09-05 19:47:06 +02:00
samba_perl.py wafsamba: add samba_perl.py with SAMBA_CHECK_PERL() higher level check. 2014-09-05 19:47:06 +02:00
samba_pidl.py build: Do not pass CPP="" to pidl, skip the env variable entirely 2013-03-25 10:25:36 +01:00
samba_python.py wafsamba: explicitly use allow_warnings=True for SAMBA_PYTHON() 2014-04-02 11:04:36 +02:00
samba_third_party.py wafsamba: Correctly locate the 'third_party' directory 2014-08-21 09:11:06 +02:00
samba_utils.py wafsamba: let TO_LIST(mylist) return a copy of mylist 2015-01-08 23:38:06 +01:00
samba_version.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
samba_wildcard.py wafsamba: Remove shebang lines from non-executable files. 2012-03-15 15:56:27 +01:00
stale_files.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
symbols.py wafsamba: Ignore some more symbols when checking for dupes. 2012-10-11 15:21:31 +02:00
test_duplicate_symbol.sh Run duplicate symbol check as just another test, rather than as part of "waf test". 2014-10-14 06:44:07 +02:00
tru64cc.py wafsamba: Expand tabs. 2012-02-10 00:07:56 +01:00
wafsamba.py wafsamba: fill PRIVATE_NAME() logic again 2014-12-19 13:15:12 +01:00
wscript wafsamba: filter out standard library paths from RPATH and LIBPATH 2015-01-08 23:38:07 +01:00

This is a set of waf 'tools' to help make building the Samba
components easier, by having common functions in one place. This gives
us a more consistent build, and ensures that our project rules are
obeyed


TODO:
	see http://wiki.samba.org/index.php/Waf