2010-11-21 04:37:40 -05:00
|
|
|
$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!!!!')
|
2009-03-13 04:56:52 -04:00
|
|
|
|
|
|
|
-extra_link_args = []
|
|
|
|
+extra_link_args = ['-fPIC']
|
|
|
|
extra_compile_args = []
|
2010-11-21 04:37:40 -05:00
|
|
|
|
|
|
|
gdal_module = Extension('osgeo._gdal',
|