summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-12-22 22:15:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:56 -0500
commitea6b1035bd6dc2cae748b47ed58943f362d091c7 (patch)
tree8da9446d909116c72863a6e7404e48e95fc7ea8d /source3
parent88d3b0814794bd0beeccef38734f98124fffa761 (diff)
downloadsamba-ea6b1035bd6dc2cae748b47ed58943f362d091c7.tar.gz
samba-ea6b1035bd6dc2cae748b47ed58943f362d091c7.tar.bz2
samba-ea6b1035bd6dc2cae748b47ed58943f362d091c7.zip
r12441: Fix python build.
Guenther (This used to be commit e33a20c222948414a9cf92fe6f63e655aebb6b06)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/python/setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/python/setup.py b/source3/python/setup.py
index 18f1f2648a..ffdafd7087 100755
--- a/source3/python/setup.py
+++ b/source3/python/setup.py
@@ -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"):