1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

r12441: Fix python build.

Guenther
This commit is contained in:
Günther Deschner 2005-12-22 22:15:52 +00:00 committed by Gerald (Jerry) Carter
parent 561e351d25
commit e33a20c222

View File

@ -63,8 +63,10 @@ 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","-pthread"):
elif lib[0:2] in ("-l"):
libraries.append(lib[2:])
elif lib[0:8] in ("-pthread"):
pass # Skip linker flags
elif lib[0:2] == "-L":
library_dirs.append(lib[2:])
elif lib[0:2] in ("-W","-s"):