]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (cygwin, old_archive_from_new_cmds): no longer
authorGary V. Vaughan <gary@gnu.org>
Fri, 26 Feb 1999 19:10:34 +0000 (19:10 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 26 Feb 1999 19:10:34 +0000 (19:10 +0000)
required.
(library_names_spec): removed $libname.a.

ChangeLog
ltconfig.in

index 6af50ae8479123f083ba362f419656873dd1f37f..5103d16d1c81c4e557f515d4fdbf3b5794eeaaec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-02-26  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
 
+       * ltconfig.in (cygwin, old_archive_from_new_cmds): no longer
+       required.
+       (library_names_spec): removed $libname.a.
+       
        * ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even
        sure whether win32 honours the runpath at all when searching for
        a dll to load!  Anyway, when set to yes this prevents a gratuitous
index 95295f747d874afd27f0ad6131a924366be8fe9f..02af2a4008bbf07741760c9144965ed3f56d69bc 100755 (executable)
@@ -1089,7 +1089,10 @@ if test "$with_gnu_ld" = yes; then
       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12 --def $objdir/$soname-def --base-file $objdir/$soname-base --output-exp $objdir/$soname-exp~
       $CC $objdir/$soname-exp -Wl,--dll -nostartfiles -Wl,-e,__cygwin_dll_entry@12 -o $lib $objdir/$soname-ltdll.$objext $libobjs $deplibs $linkopts'
 
-      old_archive_from_new_cmds='$DLLTOOL --as=$AS --dllname $soname --def $objdir/$soname-def --output-lib $objdir/$libname.a'
+      # We reserve the .a namespace for static libs.
+      # shortly, the impgen.c code will be used to generate import libs on
+      # the fly!!
+      # old_archive_from_new_cmds='$DLLTOOL --as=$AS --dllname $soname --def $objdir/$soname-def --output-lib $objdir/$libname.a'
     ;;
 
   *)
@@ -1616,7 +1619,7 @@ bsdi4*)
 cygwin* | mingw*)
   version_type=windows
   if test "$with_gcc" = yes; then
-    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.a'
+    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
   else
     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
   fi