tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Escaping quotes in CFLAGS
On Tue, Dec 14, 2010 at 01:05:17AM +0200, Aleksey Cheusov wrote:
> > Building print/luatex fails (at least with clang) because of the following
> > definition in Makefile:
> > CFLAGS+= -DLUA_ROOT=\"${PREFIX}/\"
> > changing that to
> > CFLAGS+= -DLUA_ROOT='"${PREFIX}/"'
> > seems to work but I'm unsure whether this is the right fix.
>
> As PREFIX doesn't contain spaces
>
> CFLAGS+= -DLUA_ROOT=${PREFIX}/
>
> whould be enough. For other variables consider using :Q variable modifier.
No. That doesn't create a macro that is a C string.
Joerg
Home |
Main Index |
Thread Index |
Old Index