This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: configure munges $ORIGIN in LDFLAGS (SOLVED)
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Poor Yorick <org dot sourceware dot binutils at pooryorick dot com>
- Cc: binutils at sourceware dot org
- Date: Sat, 16 May 2009 17:19:55 +0100
- Subject: Re: configure munges $ORIGIN in LDFLAGS (SOLVED)
- References: <20090516151722.32761.qmail@s461.sureserver.com>
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