openbsd-ports/geo/gdal/patches/patch-swig_python_setup_py
landry 705c95b5ed Update to gdal 1.9.2.
Tested in an amd64 bulk build and on sparc64.
2012-10-18 07:09:29 +00:00

13 lines
422 B
Plaintext

$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',