summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2006-01-31 10:39:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:20 -0500
commit5256cacd3bd4268b96907beaed9f18866063d492 (patch)
tree1589e0b4f75865e7e3a476eb3bd4501e5ff75e71 /source3
parent4699d4741da8145b1a491eeafa4133133e194f94 (diff)
downloadsamba-5256cacd3bd4268b96907beaed9f18866063d492.tar.gz
samba-5256cacd3bd4268b96907beaed9f18866063d492.tar.bz2
samba-5256cacd3bd4268b96907beaed9f18866063d492.zip
r13257: Fix python build with older python versions (e.g. 2.2.1) like in United Linux 1 (UL) aka SuSE Linux Enterprise Server (SLES) 8.
(This used to be commit 4602cb5f53f05404f10c69b01dd8fd5ac492c5c5)
Diffstat (limited to 'source3')
-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:])