$OpenBSD: patch-swig_python_setup_py,v 1.4 2013/05/31 15:00:09 landry Exp $
--- swig/python/setup.py.orig	Wed Apr 24 20:55:26 2013
+++ swig/python/setup.py	Thu May 30 17:07:14 2013
@@ -198,7 +198,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',
