summaryrefslogtreecommitdiff
path: root/source3/python/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/setup.py')
-rwxr-xr-xsource3/python/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/setup.py b/source3/python/setup.py
index ffdafd7087..ce417710b3 100755
--- a/source3/python/setup.py
+++ b/source3/python/setup.py
@@ -63,9 +63,9 @@ 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"):
+ elif lib[0:2] == ("-l"):
libraries.append(lib[2:])
- elif lib[0:8] in ("-pthread"):
+ elif lib[0:8] == ("-pthread"):
pass # Skip linker flags
elif lib[0:2] == "-L":
library_dirs.append(lib[2:])