changeset 3164:62557a88eef5

Ugh. Targetpackage uses --disable-static. Replace this for cygwin to enable libtool to build static libraries, and configure of guile, libtool to build static libraries.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Wed, 28 Mar 2007 13:06:09 +0200
parents 667470745adb
children 688016f7da7b
files lib/cygwin.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/cygwin.py	Wed Mar 28 13:05:05 2007 +0200
+++ b/lib/cygwin.py	Wed Mar 28 13:06:09 2007 +0200
@@ -163,6 +163,12 @@
     package.get_subpackage_definitions \
         = misc.MethodOverrider (package.get_subpackage_definitions, cyg_defs)
 
+    def enable_static (d):
+        return d.replace ('--disable-static', '--enable-static')
+
+    package.configure_command \
+        = misc.MethodOverrider (package.configure_command, enable_static)
+
     def install (whatsthis, lst):
 	package = lst[0]
         package.post_install_smurf_exe ()