svn commit: samba r13257 - branches/SAMBA_3_0/source/python
trunk/source/python
lmuelle at samba.org
lmuelle at samba.org
Tue Jan 31 10:39:46 GMT 2006
Author: lmuelle
Date: 2006-01-31 10:39:45 +0000 (Tue, 31 Jan 2006)
New Revision: 13257
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13257
Log:
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.
Modified:
branches/SAMBA_3_0/source/python/setup.py
trunk/source/python/setup.py
Changeset:
Modified: branches/SAMBA_3_0/source/python/setup.py
===================================================================
--- branches/SAMBA_3_0/source/python/setup.py 2006-01-31 10:03:44 UTC (rev 13256)
+++ branches/SAMBA_3_0/source/python/setup.py 2006-01-31 10:39:45 UTC (rev 13257)
@@ -63,9 +63,9 @@
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:])
Modified: trunk/source/python/setup.py
===================================================================
--- trunk/source/python/setup.py 2006-01-31 10:03:44 UTC (rev 13256)
+++ trunk/source/python/setup.py 2006-01-31 10:39:45 UTC (rev 13257)
@@ -63,9 +63,9 @@
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:])
More information about the samba-cvs
mailing list