openbsd-ports/geo/gdal/patches/patch-swig_python_setup_py
landry b4ec3d695d Update to gdal 1.7.3:
- bump major
- fix WANTLIBs after proj update
- clean CONFIGURE_ARGS, remove unknown flags and precise png/geotiff dir
2010-11-21 09:37:40 +00:00

13 lines
418 B
Plaintext

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