configure munges $ORIGIN in LDFLAGS (SOLVED)
Dave Korn
dave.korn.cygwin@googlemail.com
Sat May 16 16:08:00 GMT 2009
Poor Yorick wrote:
>> From: Poor Yorick Subject: configure munges $ORIGIN in LDFLAGS
>>
>> Using a shell script to build binutils-2.19.1, LDFLAGS assignment looks
>> like this:
Can we see this script?
>> Apparently, the top Makefile needs to requote arguments before invoking
>> binutils/configure.
Either that, or it is not supported to embed shell variables into the
configure arguments.
> It turns out that, in one of the most heinous cases of escaping I have ever
> seen in production code, this is the correct way to quote $ORIGIN in the
> top-level Makefile:
> If that isn't evil, I don't know what is.
This makes me suspect that your desired mode of operation is simply not
catered for.
cheers,
DaveK
More information about the Binutils
mailing list