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

r12441: Fix python build.

Guenther
(This used to be commit e33a20c222)
This commit is contained in:
Günther Deschner
2005-12-22 22:15:52 +00:00
committed by Gerald (Jerry) Carter
parent 88d3b08147
commit ea6b1035bd

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"):