Fixing parallel make of libpq

From: ilmari(at)ilmari(dot)org (Dagfinn Ilmari Mannsåker )
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Fixing parallel make of libpq
Date: 2020-01-08 13:33:13
Message-ID: 871rsa13ae.fsf@wibble.ilmari.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

I noticed to my annoyance that 'make -j4 -C src/interfaces/libpq'
doesn't work in a clean checkout, because it can't find
libpgcommon_shlib and libpgport_shlib. It looks like that's because the
submake-libpgport dependency is declared on the all-lib target, not on
the shlib itself. Moving it to SHLIB_PREREQS instead fixes it, patch
for which is attached.

- ilmari
--
- Twitter seems more influential [than blogs] in the 'gets reported in
the mainstream press' sense at least. - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
to a mainstream media article. - Calle Dybedahl

Attachment Content-Type Size
0001-Make-libpgport-a-dependency-of-the-libpq-shlib-itsel.patch text/x-diff 840 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-01-08 13:37:28 Re: Improve checking for pg_index.xmin
Previous Message Peter Eisentraut 2020-01-08 13:27:46 Re: pgbench - use pg logging capabilities