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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user