From: Gary V. Vaughan Date: Tue, 8 Jun 1999 10:15:02 +0000 (+0000) Subject: * ltconfig.in (cygwin, need_version): Set to no, otherwise module X-Git-Tag: release-1-3b~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2be972d59aacc8a2f60ee52be466c95b547d8171;p=thirdparty%2Flibtool.git * ltconfig.in (cygwin, need_version): Set to no, otherwise module dll's end up with mighty long names! --- diff --git a/ChangeLog b/ChangeLog index 226fef19b..6fd09a152 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ objects for dlls vs. objects for static archives. Using a cpp macro also allows us to decide whether or not we need to use dllexport/import declarations. + + * ltconfig.in (cygwin, need_version): Set to no, otherwise module + dll's end up with mighty long names! 1999-06-06 Alexandre Oliva diff --git a/ltconfig.in b/ltconfig.in index e3c6daa6f..7e5637941 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -683,7 +683,9 @@ else ;; cygwin* | mingw* | os2*) - # We can build DLLs from non-PIC. + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + pic_flag='-DDLL_EXPORT' ;; osf3* | osf4*) @@ -1782,6 +1784,8 @@ bsdi4*) cygwin* | mingw*) version_type=windows + need_version=no + need_lib_prefix=no if test "$with_gcc" = yes; then library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' else @@ -1790,7 +1794,6 @@ cygwin* | mingw*) dynamic_linker='Win32 ld.exe' deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' file_magic_cmd='${OBJDUMP} -f' - need_lib_prefix=no # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH lt_cv_dlopen="LoadLibrary"