mirror of
https://github.com/samba-team/samba.git
synced 2025-07-26 03:42:04 +03:00
r13257: Fix python build with older python versions (e.g. 2.2.1) like in United Linux 1 (UL) aka SuSE Linux Enterprise Server (SLES) 8.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
6f5af1dd41
commit
4602cb5f53
@ -63,9 +63,9 @@ for lib in string.split(samba_libs):
|
||||
next_is_flag = 0;
|
||||
elif lib == "-Wl,-rpath":
|
||||
next_is_path = 1;
|
||||
elif lib[0:2] in ("-l"):
|
||||
elif lib[0:2] == ("-l"):
|
||||
libraries.append(lib[2:])
|
||||
elif lib[0:8] in ("-pthread"):
|
||||
elif lib[0:8] == ("-pthread"):
|
||||
pass # Skip linker flags
|
||||
elif lib[0:2] == "-L":
|
||||
library_dirs.append(lib[2:])
|
||||
|
Reference in New Issue
Block a user