summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/python/setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/python/setup.py b/source3/python/setup.py
index ce417710b3..1efe5938e1 100755
--- 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"):