tech-pkg archive

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

Re: Escaping quotes in CFLAGS

> 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


whould be enough. For other variables consider using :Q variable modifier.

If you build Lua modules have a look at lang/lua/, e.g.

Best regards, Aleksey Cheusov.

Home | Main Index | Thread Index | Old Index