[Top][All Lists]

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

Re: [Mingw-msys] Re: MinGW libtool DLL failure

From: Guido Draheim
Subject: Re: [Mingw-msys] Re: MinGW libtool DLL failure
Date: Tue, 15 Oct 2002 13:21:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Would bindir be an environment variable if libtool is being executed from make? If not, setting a variable in the libtool.m4 that configure sets works. I prefer that over a switch, with a default value for the variable of ../bin. If bindir is passed to libtool through the environment then use ../bin if bindir isn't present.


Just reiterating the link to the macro that I add regularly to

The main trick is to modify only the default-path (!!) of the libdirpath
and therefore let the user be free to override it on the commandline. When
a user has overridden the bindirpath then "../bin" might simply be the wrong
choice as it would not end up near the binary nor in the $PATH.

libdir=`echo $libdir |sed -e 's:^..exec_prefix./lib$:${bindir}:'`

perhaps add a similar thing to the libtool m4 macro, no?

reply via email to

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