1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-06 18:42:54 +03:00

Fix shared library creation to work properly on AIX. Albe Laurenz

This commit is contained in:
Tom Lane
2006-09-19 15:36:08 +00:00
parent 48fe137425
commit 9b5e108ee9
7 changed files with 42 additions and 23 deletions

View File

@@ -5,6 +5,15 @@ MAKE_EXPORTS= true
RANLIB= touch
AROPT = crs
# -blibpath must contain ALL directories where we should look for libraries
libpath := $(shell echo $(subst -L,:,$(filter -L/%,$(LDFLAGS))) | sed -e's/ //g'):/usr/lib:/lib
ifeq ($(host_os), aix3.2.5)
rpath = -L$(rpathdir)
else
rpath = -Wl,-blibpath:$(rpathdir)$(libpath)
endif
DLSUFFIX = .so
ifeq ($(host_os), aix3.2.5)
ifneq ($(GCC), yes)