mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Code review for avoidance of direct cross-module links.
Remove $(pkglibdir) from $(rpathdir), since commitsd51924be88
andeda04886c1
removed direct linkage to objects stored there. Users are unlikely to notice the difference. Accompany every $(python_libspec) with $(python_additional_libs); this doesn't fix a demonstrated bug, but it might do so on rare Python configurations. With these changes, AIX ceases to be a special case.
This commit is contained in:
@ -24,17 +24,12 @@ include $(top_srcdir)/contrib/contrib-global.mk
|
||||
endif
|
||||
|
||||
# We must link libpython explicitly
|
||||
ifeq ($(PORTNAME), aix)
|
||||
rpathdir = $(pkglibdir):$(python_libdir)
|
||||
SHLIB_LINK += $(python_libspec) $(python_additional_libs)
|
||||
else
|
||||
ifeq ($(PORTNAME), win32)
|
||||
# ... see silliness in plpython Makefile ...
|
||||
SHLIB_LINK += $(sort $(wildcard ../../src/pl/plpython/libpython*.a))
|
||||
else
|
||||
rpathdir = $(python_libdir)
|
||||
SHLIB_LINK += $(python_libspec)
|
||||
endif
|
||||
SHLIB_LINK += $(python_libspec) $(python_additional_libs)
|
||||
endif
|
||||
|
||||
REGRESS_OPTS += --load-extension=hstore
|
||||
|
Reference in New Issue
Block a user