Re: [PORTS] Shared library search paths
От
Thomas Lockhart
Тема
Re: [PORTS] Shared library search paths
Дата
Msg-id
397509CA.C2B623B1@alumni.caltech.edu
Список
Дерево обсуждения
Shared library search paths Peter Eisentraut <peter_e@gmx.net>
> Some platforms (OSF/cc, HPUX) are already using -rpath or equivalent, so
> you don't have to specify a shared library search path at runtime. I think
> that a lot more platforms could use this. Can people comment on whether
> and how it works on their platform? Essentially,
> LDFLAGS+=-rpath '$(libdir)'
For linux (at least gcc 2.7.x and 2.95.2 systems):
if specified in the compilation step,
-Wl,-rpath $(libdir)
or if specified directly to the linker
-rpath $(libdir)
- Thomas
В списке pgsql-hackers по дате отправления