Re: PG_CFLAGS rpath Passthrough Issue

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: PG_CFLAGS rpath Passthrough Issue
Дата
Msg-id 1C330A08-2708-4FEF-9845-F78BE952AEDE@justatheory.com
обсуждение исходный текст
Ответ на Re: PG_CFLAGS rpath Passthrough Issue  (Álvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
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


Вложения

В списке pgsql-hackers по дате отправления: