summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-13 12:41:26 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-13 12:41:34 +1000
commita7d762bd2977ed1c36399d13ddc18371c5514fd0 (patch)
treeb8628cd252833513a011efd70a44642d911d8e46
parentab73692bd348057bfd218b67c3414eec8afcc18b (diff)
downloadsamba-a7d762bd2977ed1c36399d13ddc18371c5514fd0.tar.gz
samba-a7d762bd2977ed1c36399d13ddc18371c5514fd0.tar.bz2
samba-a7d762bd2977ed1c36399d13ddc18371c5514fd0.zip
build: allow cross-builds to use shared libraries
-rw-r--r--buildtools/wafsamba/samba_conftests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py
index 348dc341e4..ccd476345e 100644
--- a/buildtools/wafsamba/samba_conftests.py
+++ b/buildtools/wafsamba/samba_conftests.py
@@ -165,7 +165,7 @@ def CHECK_LIBRARY_SUPPORT(conf, rpath=False, msg=None):
ADD_LD_LIBRARY_PATH(os.path.join(bdir, 'default/libdir'))
# we need to run the program, try to get its result
- args = []
+ args = conf.SAMBA_CROSS_ARGS()
proc = Utils.pproc.Popen([lastprog] + args, stdout=Utils.pproc.PIPE, stderr=Utils.pproc.PIPE)
(out, err) = proc.communicate()
w = conf.log.write