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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user