Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Silly to copy sprompt.c from src/port when we're linking libpgport anyway.
> The style has always been to compile in each app in case the flags
> change, or is that only for libpq?
libpq needs to build these modules PIC, but a simple executable does
not. The whole notion of building libpgport as a library is wrong
if you want to recompile in each app.
regards, tom lane