]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (cygwin, need_version): Set to no, otherwise module
authorGary V. Vaughan <gary@gnu.org>
Tue, 8 Jun 1999 10:15:02 +0000 (10:15 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 8 Jun 1999 10:15:02 +0000 (10:15 +0000)
dll's end up with mighty long names!

ChangeLog
ltconfig.in

index 226fef19b3ad1147afbf20e503583dc29fd52d3c..6fd09a152d843d850c0053aff9aa8f436e6d6f58 100644 (file)
--- 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  <oliva@dcc.unicamp.br>
 
index e3c6daa6fbc113ed90db153ad6d1e24cb054a16e..7e5637941d97d9dead42f35a54a1f04cdee511ad 100755 (executable)
@@ -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"