1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-03 04:23:50 +03:00

r22840: Add -pie support to Python's setup.py. This should fix build of python libs on recent distributions that take care of security.

This commit is contained in:
Alexander Bokovoy
2007-05-14 09:47:58 +00:00
committed by Gerald (Jerry) Carter
parent e522fb9bb7
commit b090b8983b

View File

@@ -67,6 +67,8 @@ for lib in string.split(samba_libs):
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"):