From 5256cacd3bd4268b96907beaed9f18866063d492 Mon Sep 17 00:00:00 2001 From: Lars Müller Date: Tue, 31 Jan 2006 10:39:45 +0000 Subject: 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) --- source3/python/setup.py | 4 ++-- 1 file 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:]) -- cgit