From: Alexander Bokovoy Date: Mon, 14 May 2007 09:47:58 +0000 (+0000) Subject: r22840: Add -pie support to Python's setup.py. This should fix build of python libs... X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~473 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b090b8983bf26779c476c047e952e475c095932e;p=thirdparty%2Fsamba.git r22840: Add -pie support to Python's setup.py. This should fix build of python libs on recent distributions that take care of security. --- diff --git a/source/python/setup.py b/source/python/setup.py index ce417710b30..1efe5938e11 100755 --- a/source/python/setup.py +++ b/source/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"):