Re: What generates pg_config.h?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What generates pg_config.h?
Дата
Msg-id 22433.1515194991@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What generates pg_config.h?  (Travis Allison <travisallison@gmail.com>)
Ответы Re: What generates pg_config.h?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Travis Allison <travisallison@gmail.com> writes:
> Tom, where's the -l switch exactly?  What command is it attached to? (I'm
> not sure what to look for.)

Look into the extension's Makefile for something roughly along the lines
of

CPPFLAGS = -I/usr/include/postgresql

Very likely there's some amount of macro-ization involved, so it might
look more like

INCLUDEDIR = /usr/include/postgresql
...
CPPFLAGS = -I$(INCLUDEDIR)

Furthermore, given our current theory, there's going to be more than
one -I switch on that line, and you want to get rid of just one.

            regards, tom lane


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

Предыдущее
От: Travis Allison
Дата:
Сообщение: Re: What generates pg_config.h?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: What generates pg_config.h?