Re: Fix linking of OpenLDAP libraries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix linking of OpenLDAP libraries
Дата
Msg-id 11268.1157398893@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fix linking of OpenLDAP libraries  ("Albe Laurenz" <all@adv.magwien.gv.at>)
Список pgsql-hackers
"Albe Laurenz" <all@adv.magwien.gv.at> writes:

>   # The backend doesn't need everything that's in LIBS, however
> ! LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses -lldap_r $(PTHREAD_LIBS), $(LIBS))

This seems pretty risky.  What if PTHREAD_LIBS contains -L switches?
They'd get removed even if needed for other libraries.

It would probably be safer not to put LDAP into LIBS at all, but invent
two new macros for configure to set, say LDAP_LIBS and LDAP_LIBS_R,
and add these to the link lines in the backend and libpq respectively.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: TODO Item : GRANT/REVOKE to all schema objects
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql: sslinfo contrib module -