1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

Path for bugzilla #1152 from Timur Bakeyev. Allow python modules to

build despite libraries added to LDFLAGS instead of LDPATH.
This commit is contained in:
Tim Potter
-
parent c335cb80d2
commit 98a25dcda8
2 changed files with 5 additions and 2 deletions

View File

@ -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)