What's with this lib suffix?

Поиск
Список
Период
Сортировка
От Thomas Hallgren
Тема What's with this lib suffix?
Дата
Msg-id 44004AF4.8000608@tada.se
обсуждение исходный текст
Ответы Re: What's with this lib suffix?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
I have a PL/Java bug entry from Peter E. that reads "It is customary in PostgreSQL land and 
elsewhere, that dynamically loadable modules do not have a lib prefix (compare plpgsql.so, 
pltcl.so, etc.).  So I suggest that the shared object installed by PL/Java also be called 
exactly pljava.so.".

I'd like to follow customary practices but as it turns out, I'm not the one adding the 'lib' 
prefix. It's done by the Makefile.shlib that comes bundled with pgxs. Here you can read 
things like:
 # Default shlib naming convention used by the majority of platforms shlib        =
lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)shlib_major    = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
shlib_bare   = lib$(NAME)$(DLSUFFIX)
 

and sure enough, that's what gets used too. So what goes?

Personally, I'd prefer to keep the 'lib' prefix since it really *is* the default naming 
convention on all *n[iu]x platforms I've been in contact with. Not so on Windows though so 
perhaps that should change in Makefile.shlib?

I'm confused.

Kind Regards,
Thomas Hallgren


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Pl/Python -- current maintainer?
Следующее
От: Martin Pitt
Дата:
Сообщение: Re: Adding an ignore list to pg_restore, prototype patch #1