From 78502504451b9ea21a8f4035a3e7e9626a6b2108 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 24 Mar 2004 23:52:11 +0000 Subject: Path for bugzilla #1152 from Timur Bakeyev. Allow python modules to build despite libraries added to LDFLAGS instead of LDPATH. (This used to be commit 98a25dcda8e53e22b48930131ff394414056f6a1) --- source3/python/setup.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/python/setup.py') diff --git a/source3/python/setup.py b/source3/python/setup.py index a9f220f195..4a4f6ad3f8 100755 --- a/source3/python/setup.py +++ b/source3/python/setup.py @@ -57,6 +57,9 @@ for lib in string.split(samba_libs): if lib[0:2] == "-L": library_dirs.append(lib[2:]) continue + if lib[0:2] == "-W": + # Skip linker flags + continue print "Unknown entry '%s' in $LIBS variable passed to setup.py" % lib sys.exit(1) -- cgit