mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +03: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:
@ -1,8 +1,17 @@
|
||||
AROPT = crs
|
||||
ifeq ($(with_gnu_ld), yes)
|
||||
export_dynamic = -Wl,-E
|
||||
else
|
||||
export_dynamic = -Wl,-Bexport
|
||||
endif
|
||||
|
||||
ifeq ($(ld_R_works), yes)
|
||||
ifeq ($(with_gnu_ld), yes)
|
||||
rpath = -Wl,-rpath,$(libdir)
|
||||
else
|
||||
rpath = -Wl,-R$(libdir)
|
||||
endif
|
||||
endif
|
||||
shlib_symbolic = -Wl,-Bsymbolic
|
||||
|
||||
DLSUFFIX = .so
|
||||
|
Reference in New Issue
Block a user