git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3af6bf6
)
r22840: Add -pie support to Python's setup.py. This should fix build of python libs...
author
Alexander Bokovoy
<ab@samba.org>
Mon, 14 May 2007 09:47:58 +0000
(09:47 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:22:01 +0000
(12:22 -0500)
(This used to be commit
b090b8983bf26779c476c047e952e475c095932e
)
source3/python/setup.py
patch
|
blob
|
history
diff --git
a/source3/python/setup.py
b/source3/python/setup.py
index ce417710b30c9308ebef969ef20adc9af5adb9e2..1efe5938e11fdf5f8da4b7c7e1649af9eb8f64fb 100755
(executable)
--- a/
source3/python/setup.py
+++ b/
source3/python/setup.py
@@
-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"):