]> git.ipfire.org Git - thirdparty/libtool.git/commit
Improve libdir usage from within ltdl on MinGW.
authorPeter Rosin <peda@lysator.liu.se>
Thu, 10 Jun 2010 17:53:39 +0000 (19:53 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 12 Jun 2010 08:09:26 +0000 (10:09 +0200)
commit2a4278537315a9b073f2669e56753b41d5ab493d
tree73f6464630ac31892e283e4362abb05dcece4b50
parentd4558ac9bee7bde487ea982c28771d43a610d4fc
Improve libdir usage from within ltdl on MinGW.

* libltdl/ltdl.c (parse_dotla_file) [__WINDOWS__]: Read the
libdir entry in the .la file, but accept it only if it is not
a unix-style absolute name.
* tests/ltdl-libdir.at: New test that checks if ltdl finds an
installed module via the libdir variable in the .la file.  On
MinGW, use a Windows-style libdir name including drive spec.
* Makefile.am: Add above.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
Makefile.am
libltdl/ltdl.c
tests/ltdl-libdir.at [new file with mode: 0644]