svn commit: samba r22840 - in branches: SAMBA_3_0/source/python
SAMBA_3_0_25/source/python SAMBA_3_0_26/source/python
ab at samba.org
ab at samba.org
Mon May 14 09:48:01 GMT 2007
Author: ab
Date: 2007-05-14 09:47:58 +0000 (Mon, 14 May 2007)
New Revision: 22840
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22840
Log:
Add -pie support to Python's setup.py. This should fix build of python libs on recent distributions that take care of security.
Modified:
branches/SAMBA_3_0/source/python/setup.py
branches/SAMBA_3_0_25/source/python/setup.py
branches/SAMBA_3_0_26/source/python/setup.py
Changeset:
Modified: branches/SAMBA_3_0/source/python/setup.py
===================================================================
--- branches/SAMBA_3_0/source/python/setup.py 2007-05-14 09:44:26 UTC (rev 22839)
+++ branches/SAMBA_3_0/source/python/setup.py 2007-05-14 09:47:58 UTC (rev 22840)
@@ -67,6 +67,8 @@
libraries.append(lib[2:])
elif lib[0:8] == ("-pthread"):
pass # Skip linker flags
+ elif lib[0:4] == ("-pie"):
+ pass # Skip linker flags
elif lib[0:2] == "-L":
library_dirs.append(lib[2:])
elif lib[0:2] in ("-W","-s"):
Modified: branches/SAMBA_3_0_25/source/python/setup.py
===================================================================
--- branches/SAMBA_3_0_25/source/python/setup.py 2007-05-14 09:44:26 UTC (rev 22839)
+++ branches/SAMBA_3_0_25/source/python/setup.py 2007-05-14 09:47:58 UTC (rev 22840)
@@ -67,6 +67,8 @@
libraries.append(lib[2:])
elif lib[0:8] == ("-pthread"):
pass # Skip linker flags
+ elif lib[0:4] == ("-pie"):
+ pass # Skip linker flags
elif lib[0:2] == "-L":
library_dirs.append(lib[2:])
elif lib[0:2] in ("-W","-s"):
Modified: branches/SAMBA_3_0_26/source/python/setup.py
===================================================================
--- branches/SAMBA_3_0_26/source/python/setup.py 2007-05-14 09:44:26 UTC (rev 22839)
+++ branches/SAMBA_3_0_26/source/python/setup.py 2007-05-14 09:47:58 UTC (rev 22840)
@@ -67,6 +67,8 @@
libraries.append(lib[2:])
elif lib[0:8] == ("-pthread"):
pass # Skip linker flags
+ elif lib[0:4] == ("-pie"):
+ pass # Skip linker flags
elif lib[0:2] == "-L":
library_dirs.append(lib[2:])
elif lib[0:2] in ("-W","-s"):
More information about the samba-cvs
mailing list