openbsd-ports/geo/gdal/patches/patch-swig_python_setup_py

13 lines
418 B
Plaintext
Raw Normal View History

$OpenBSD: patch-swig_python_setup_py,v 1.2 2010/11/21 09:37:40 landry Exp $
--- swig/python/setup.py.orig Sun Nov 7 19:28:49 2010
+++ swig/python/setup.py Wed Nov 17 20:31:42 2010
@@ -147,7 +147,7 @@ class gdal_ext(build_ext):
except:
print ('Could not run gdal-config!!!!')
-extra_link_args = []
+extra_link_args = ['-fPIC']
extra_compile_args = []
gdal_module = Extension('osgeo._gdal',