> > 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:
Bruce Momjian 2002-04-05 12:01:59 +00:00
parent 80f46fab63
commit 1f9010cc8d
2 changed files with 19 additions and 10 deletions

View File

@ -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