pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Travis Allison <travisallison@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: floriparob@gmail.com
Cc: pgsql-general@postgresql.org
Cc: Christoph Berg <myon@debian.org>
Subject: Re: What generates pg_config.h?
Date: Fri, 05 Jan 2018 18:29:51 -0500
Message-ID: <22433.1515194991@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEJ64tb7j1XR009TVfaEeh1=gkRgZ5vJ=sqfQ3WFg38YDBm5dw@mail.gmail.com>
References: <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql>
	<20599.1515192990@sss.pgh.pa.us>
	<CAEJ64tb7j1XR009TVfaEeh1=gkRgZ5vJ=sqfQ3WFg38YDBm5dw@mail.gmail.com>

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




view thread (18+ messages)  latest in thread

Message-ID: <22433.1515194991@sss.pgh.pa.us>
Permalink:  ../22433.1515194991@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22433.1515194991@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, travisallison@gmail.com, alvherre@alvh.no-ip.org, adrian.klaver@aklaver.com, floriparob@gmail.com, myon@debian.org
  Subject: Re: What generates pg_config.h?
  In-Reply-To: <22433.1515194991@sss.pgh.pa.us>
  References: <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql> <20599.1515192990@sss.pgh.pa.us> <CAEJ64tb7j1XR009TVfaEeh1=gkRgZ5vJ=sqfQ3WFg38YDBm5dw@mail.gmail.com> <22433.1515194991@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox