On Mar 15, 2025, at 07:58, Álvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> It's make. From its info manual:
Oh, that explains it. It hadn’t occurred to me that make could eval strings passed to it like that, but of course it
does.
>
> I'm surprised that you don't need \$\$ though. I wonder if
> make CFLAGS='-Wl,-rpath,$$ORIGIN'
> isn't enough actually?
Oddly, no:
# make CFLAGS='-Wl,-rpath,$$ORIGIN'
# chrpath src/semver.so
src/semver.so: RUNPATH=
Gotta have the backslash.
Best,
David