$OpenBSD: patch-wscript,v 1.2 2010/04/24 17:37:54 jasper Exp $
--- wscript.orig	Fri Feb 19 18:43:54 2010
+++ wscript	Sat Apr 24 19:31:49 2010
@@ -315,6 +315,7 @@ def configure(conf):
     # Our static libraries may link to dynamic libraries
     if Options.platform != 'win32':
         conf.env["staticlib_CCFLAGS"] += ['-fPIC', '-DPIC']
+        conf.env["LINKFLAGS"] += ['-fPIC']
     else:
         # As we have to change target platform after the tools
         # have been loaded there are a few variables that needs
@@ -486,9 +487,10 @@ def shutdown():
             ):
         ldconfig = '/sbin/ldconfig'
         if os.path.isfile(ldconfig):
-            libprefix = Utils.subst_vars('${PREFIX}/lib', Build.bld.env)
-            try: Utils.cmd_output(ldconfig + ' ' + libprefix)
-            except: pass
+            #libprefix = Utils.subst_vars('${PREFIX}/lib', Build.bld.env)
+            #try: Utils.cmd_output(ldconfig + ' ' + libprefix)
+            #except: pass
+	    pass
 
     if Options.options.run_tests:
         os.system(os.path.join(blddir, "default/tests/test_xmmstypes"))
