mirror of
https://github.com/postgres/postgres.git
synced 2025-06-18 00:02:37 -04:00
> > This patch corrects the use of rpath and export options when compiling
> > on postgres on Unixware with GCC built with gnu-as and gnu-ld. Remove leading spaces in conditional tests in patch and Makefile.aix. Nicolas Bazin
This commit is contained in:
parent
80f46fab63
commit
1f9010cc8d
@ -1,8 +1,17 @@
|
|||||||
AROPT = crs
|
AROPT = crs
|
||||||
|
ifeq ($(with_gnu_ld), yes)
|
||||||
|
export_dynamic = -Wl,-E
|
||||||
|
else
|
||||||
export_dynamic = -Wl,-Bexport
|
export_dynamic = -Wl,-Bexport
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ld_R_works), yes)
|
ifeq ($(ld_R_works), yes)
|
||||||
|
ifeq ($(with_gnu_ld), yes)
|
||||||
|
rpath = -Wl,-rpath,$(libdir)
|
||||||
|
else
|
||||||
rpath = -Wl,-R$(libdir)
|
rpath = -Wl,-R$(libdir)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
shlib_symbolic = -Wl,-Bsymbolic
|
shlib_symbolic = -Wl,-Bsymbolic
|
||||||
|
|
||||||
DLSUFFIX = .so
|
DLSUFFIX = .so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user