From: Gary V. Vaughan Date: Fri, 26 Feb 1999 19:10:34 +0000 (+0000) Subject: * ltconfig.in (cygwin, old_archive_from_new_cmds): no longer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b1c1342f083f1d50e0c35cb4b12c9ad64085fb;p=thirdparty%2Flibtool.git * ltconfig.in (cygwin, old_archive_from_new_cmds): no longer required. (library_names_spec): removed $libname.a. --- diff --git a/ChangeLog b/ChangeLog index 6af50ae84..5103d16d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-02-26 Gary V. Vaughan + * 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 diff --git a/ltconfig.in b/ltconfig.in index 95295f747..02af2a400 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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