diff options
author | Lars Müller <lmuelle@samba.org> | 2006-01-31 10:39:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:20 -0500 |
commit | 5256cacd3bd4268b96907beaed9f18866063d492 (patch) | |
tree | 1589e0b4f75865e7e3a476eb3bd4501e5ff75e71 /source3 | |
parent | 4699d4741da8145b1a491eeafa4133133e194f94 (diff) | |
download | samba-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-x | source3/python/setup.py | 4 |
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:]) |