Re: What generates pg_config.h? - Mailing list pgsql-general

From Tom Lane
Subject Re: What generates pg_config.h?
Date
Msg-id 22433.1515194991@sss.pgh.pa.us
Whole thread Raw
In response to Re: What generates pg_config.h?  (Travis Allison <travisallison@gmail.com>)
Responses Re: What generates pg_config.h?  (Adrian Klaver <adrian.klaver@aklaver.com>)
List 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 by date:

Previous
From: Travis Allison
Date:
Subject: Re: What generates pg_config.h?
Next
From: Adrian Klaver
Date:
Subject: Re: What generates pg_config.h?