$OpenBSD: patch-swig_python_setup_py,v 1.3 2012/10/18 07:09:29 landry Exp $ --- swig/python/setup.py.orig Thu May 17 05:30:56 2012 +++ swig/python/setup.py Mon Oct 1 11:16:00 2012 @@ -166,7 +166,7 @@ class gdal_ext(build_ext): self.include_dirs.append(os.path.join(self.gdaldir,'include')) -extra_link_args = [] +extra_link_args = ['-fPIC'] extra_compile_args = [] gdal_module = Extension('osgeo._gdal',