[Top][All Lists]

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

bug#21445: LIBS not passed for creating a wrapper for cygwin/mingw

From: Peter Rosin
Subject: bug#21445: LIBS not passed for creating a wrapper for cygwin/mingw
Date: Wed, 9 Sep 2015 22:48:04 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 2015-09-09 16:35, Damian Bogel wrote:
> Hi,
> It seems that whenever a wrapper executable is built for cygwin/mingw, 
> libraries passed to libtool are ignored.
> In my libtool there's a command:
> # The wrapper executable is built using the $host compiler,
> # because it contains $host paths and files. If cross-
> # compiling, it, like the target executable, must be
> # executed on the $host or under an emulation environment.
> $opt_dry_run || {
>   $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
> $STRIP $cwrapper
> }
> and clearly there's something missing after cwrappersource. In my project, 
> I'm currently just using sed to patch the libtool, but a variable like LTLIBS 
> would be useful.


I don't understand why you would need any extra libraries to build the
cwrapper? It is not supposed to need any user-provided libraries, it's
a very simple C program that sets up the environment for the real
program and the execs that, no fancy libs needed for that. What is it
that you think should be added with $LTLIBS?

I wonder what the underlying problem is that you are apparently trying
to work around?


reply via email to

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