summaryrefslogtreecommitdiffstats
path: root/source/python/setup.py
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-01-24 03:54:33 +0000
committerGerald Carter <jerry@samba.org>2006-01-24 03:54:33 +0000
commit4b9ea8812ef3f7612c41bf3aaab1371c981279cc (patch)
tree12df5cd6251aa0dbeb06f309ccf25b3096a08a14 /source/python/setup.py
parent6de6cd120873b7879ec314299de1bcd5bf82c73d (diff)
downloadsamba-4b9ea8812ef3f7612c41bf3aaab1371c981279cc.tar.gz
samba-4b9ea8812ef3f7612c41bf3aaab1371c981279cc.tar.xz
samba-4b9ea8812ef3f7612c41bf3aaab1371c981279cc.zip
r13105: pulling some code over for the 3.0.21b release....first take at it
Diffstat (limited to 'source/python/setup.py')
-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"):