]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (cygwin*, whole_archive_flag_spec): dlltool chokes
authorGary V. Vaughan <gary@gnu.org>
Tue, 18 May 1999 11:22:00 +0000 (11:22 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 18 May 1999 11:22:00 +0000 (11:22 +0000)
on this, so leave it unset in this case so that the ltmain code
knows it has to unpack convenience archives by itself.

ChangeLog
ltconfig.in

index cab9207469bdc183149fa3220560d2ed929ad8b2..adf0ad6dd6426384f7d277571ce1b1d020ecbb87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-05-18  Gary V. Vaughan  <gary@oranda.demon.co.uk>
+
+       * ltconfig.in (cygwin*, whole_archive_flag_spec): dlltool chokes
+       on this, so leave it unset in this case so that the ltmain code
+       knows it has to unpack convenience archives by itself.
+
 1999-05-17  Gary V. Vaughan  <gary@oranda.demon.co.uk>
 
        * ltmain.in: Do not exit when an unknown library name is passed
index 726e4921d5ea061e37c655c30e5ed50537c4d85c..09af499b4183b519f4474dfb6e908b09895b573d 100755 (executable)
@@ -1182,7 +1182,15 @@ EOF
     runpath_var=LD_RUN_PATH
     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
     export_dynamic_flag_spec='${wl}--export-dynamic'
-    whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+    case $host_os in
+    cygwin* | mingw*)
+      # dlltool doesn't understand --whole-archive et. al.
+      whole_archive_flag_spec=
+      ;;
+    *)
+      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+      ;;
+    esac
   fi
 else
   # PORTME fill in a description of your system's linker (not GNU ld)