libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad libdir entry in .la files on MSYS/MinGW


From: Ralf Wildenhues
Subject: Re: Bad libdir entry in .la files on MSYS/MinGW
Date: Wed, 4 Feb 2009 22:26:18 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Peter,

* Peter Rosin wrote on Wed, Feb 04, 2009 at 11:11:04AM CET:
> While playing with func_to_host_path etc by Chuck, I noticed that the
> libdir entry of installed .la files on MSYS/MinGW contains a path
> in MSYS format. However, libltdl uses this path to locate the actual
> module and that will always fail, since MinGW knows nothing about
> MSYS paths. I think MSYS/MinGW usually gets by without this working
> since libltdl also checks if the .la file *and* the module itself
> have been moved, and thus often finds the module relative to where
> it happened to find the .la file.
>
> Attached testcase succeeds on Cygwin and fails on MSYS/MinGW.
>
> Is this a sane test? Ok to push?

[...]
> +# Try finding the module via the libdir entry in a misplaced .la file.
> +
> +mv $libdir/a.la $bindir/a.la

Can you explain why this is necessary?  I don't quite understand it,
given the text above.

Thanks,
Ralf

> +cd $bindir
> +LT_AT_EXEC_CHECK([./m],
> +              [], [ignore], [ignore])
> +
> +AT_CLEANUP




reply via email to

[Prev in Thread] Current Thread [Next in Thread]