X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source%2Fpython%2Fsetup.py;h=21717de659bbeec2c8287e05c92f726ae5ebad7a;hb=ba8c48244e140403b728d9a2ca297b40e8888964;hp=ce417710b30c9308ebef969ef20adc9af5adb9e2;hpb=4602cb5f53f05404f10c69b01dd8fd5ac492c5c5;p=samba.git diff --git a/source/python/setup.py b/source/python/setup.py index ce417710b30..21717de659b 100755 --- a/source/python/setup.py +++ b/source/python/setup.py @@ -8,7 +8,7 @@ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -17,8 +17,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# along with this program; if not, see . # from distutils.core import setup @@ -67,6 +66,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"):