Re: pkg-config files for libpq and ecpg

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pkg-config files for libpq and ecpg
Дата
Msg-id 510BEEB2.4040905@gmx.net
обсуждение исходный текст
Ответ на Re: pkg-config files for libpq and ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pkg-config files for libpq and ecpg
Список pgsql-hackers
On 1/15/13 6:53 PM, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> I'll take another stab at providing pkg-config files for the client-side
>> libraries.
>
> This bit:
>
>> +    echo 'Libs.private: $(filter-out $(PKG_CONFIG_REQUIRES_PRIVATE:lib%=-l%),$(filter-out -L..%, $(SHLIB_LINK)))'
>>$@
>
> appears to assume that SHLIB_LINK contains nothing except -L and -l
> switches.  I don't think I trust that a whole lot --- in fact, it
> looks guaranteed to fail on HPUX because of -print-libgcc-file-name.
> There might be other platform-specific bogosity on other platforms;
> PTHREAD_LIBS seems like a likely source for instance.

Updated patch addressing this concern.  Also added comments and
documentation.


Вложения

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: obsolete code
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: obsolete code