[mapserver-commits] r10457 - trunk/mapserver/mapscript/python

svn at osgeo.org svn at osgeo.org
Sat Aug 14 12:41:44 EDT 2010


Author: hobu
Date: 2010-08-14 16:41:44 +0000 (Sat, 14 Aug 2010)
New Revision: 10457

Modified:
   trunk/mapserver/mapscript/python/setup.py
Log:
apply patch for #3515, currently untested

Modified: trunk/mapserver/mapscript/python/setup.py
===================================================================
--- trunk/mapserver/mapscript/python/setup.py	2010-08-12 19:30:21 UTC (rev 10456)
+++ trunk/mapserver/mapscript/python/setup.py	2010-08-14 16:41:44 UTC (rev 10457)
@@ -59,8 +59,15 @@
 #extra_compile_args = ['-g', '-arch', 'i386', '-isysroot','/']
 
 
+save_init_posix = sysconfig._init_posix
+def ms_init_posix():
+    save_init_posix()
+    if 'LDCXXSHARED' in sysconfig._config_vars:
+        sysconfig._config_vars['LDSHARED'] = sysconfig._config_vars['LDCXXSHARED']
+sysconfig._init_posix = ms_init_posix
 
 
+
 def read_mapscriptvars():
 
     # Should be created by the mapserver build process.



More information about the mapserver-commits mailing list