summaryrefslogtreecommitdiffstats
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
commite33a20c222948414a9cf92fe6f63e655aebb6b06 (patch)
tree73c4449fadafd9b80b2002a2cdba2cdfa138eb24
parent561e351d25b58fda4b050525aa03d18e4d88cc6c (diff)
downloadsamba-e33a20c222948414a9cf92fe6f63e655aebb6b06.tar.gz
samba-e33a20c222948414a9cf92fe6f63e655aebb6b06.tar.xz
samba-e33a20c222948414a9cf92fe6f63e655aebb6b06.zip
r12441: Fix python build.
Guenther
-rwxr-xr-xsource/python/setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/python/setup.py b/source/python/setup.py
index 18f1f2648ab..ffdafd70877 100755
--- a/source/python/setup.py
+++ b/source/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"):