*** ./src/interfaces/ecpg/compatlib/Makefile.ORIG Wed Mar 16 12:22:06 2011 --- ./src/interfaces/ecpg/compatlib/Makefile Wed Mar 16 12:27:33 2011 *************** *** 19,25 **** override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ -I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS) ! override CFLAGS += $(PTHREAD_CFLAGS) SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) \ $(filter -lintl -lm, $(LIBS)) $(PTHREAD_LIBS) --- 19,25 ---- override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ -I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS) ! override CFLAGS := $(PTHREAD_FLAGS) SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) \ $(filter -lintl -lm, $(LIBS)) $(PTHREAD_LIBS) *** ./src/pl/plpython/Makefile.ORIG Wed Aug 13 20:29:07 2014 --- ./src/pl/plpython/Makefile Wed Aug 13 20:29:22 2014 *************** *** 21,26 **** --- 21,31 ---- override python_libspec = endif + # AIX has its own ideas about how to do this. + ifeq ($(PORTNAME), aix) + shared_libpython = yes + endif + # Darwin (OS X) does supply a .dylib, but the above test doesn't match that. ifeq ($(PORTNAME), darwin) shared_libpython = yes