]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Don't try the MSYS libdir path on MinGW.
authorPeter Rosin <peda@lysator.liu.se>
Wed, 9 Jun 2010 12:26:00 +0000 (19:26 +0700)
committerGary V. Vaughan <gary@gnu.org>
Wed, 9 Jun 2010 12:26:00 +0000 (19:26 +0700)
* libltdl/ltdl.c (parse_dotla_file) [mingw]: The absolute
libdir path in the .la file is recorded as an MSYS (POSIX
style) path. Make sure it isn't tried when locating the
shared library.
* NEWS: Updated.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
ChangeLog
NEWS
libltdl/ltdl.c

index 216e6ce8d6eedee1e0adbbe6b55aba275918b7f3..054399949ebac2b809a112675ecf082b26838e54 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-09-15  Peter Rosin  <peda@lysator.liu.se>
+
+       Don't try the MSYS libdir path on MinGW.
+       * libltdl/ltdl.c (parse_dotla_file) [mingw]: The absolute
+       libdir path in the .la file is recorded as an MSYS (POSIX
+       style) path. Make sure it isn't tried when locating the
+       shared library.
+       * NEWS: Updated.
+
 2010-06-09  Gary V. Vaughan  <gary@gnu.org>
 
        Simplify license variations, and add missing license texts.
diff --git a/NEWS b/NEWS
index 5fd98ec873f426fe3a4d2fc2ecfa783b8934e5e0..654208f98036bbcdf5ecc649d5164143cf5d0de9 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,9 @@ New in 2.2.9b 2010-??-??: git version 2.2.9a, Libtool team:
 
 * New features:
 
-  - None.
+  - On non-cygwin Windows systems, we no longer try to lookup the POSIX
+    format path recorded in $libdir of a pseudo-library when looking up
+    the location of the library with the native tools.
 
 New in 2.2.8 2010-06-05: git version 2.2.7c, Libtool team:
 
index 4e1a4025f4cb0600264b7e148af534d8ed27e925..e1b4e2f23d2b10271187c6cd211ad74f3504db21 100644 (file)
@@ -1076,12 +1076,17 @@ parse_dotla_file(FILE *file, char **dlname, char **libdir, char **deplibs,
        {
          errors += trim (old_name, &line[sizeof (STR_OLD_LIBRARY) - 1]);
        }
+
+      /* Windows native tools do not understand the POSIX paths we store
+        in libdir. */
+#ifndef __WINDOWS__
 #undef  STR_LIBDIR
 #define STR_LIBDIR     "libdir="
       else if (strncmp (line, STR_LIBDIR, sizeof (STR_LIBDIR) - 1) == 0)
        {
          errors += trim (libdir, &line[sizeof(STR_LIBDIR) - 1]);
        }
+#endif
 
 #undef  STR_DL_DEPLIBS
 #define STR_DL_DEPLIBS "dependency_libs="