*** ./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 Mar 16 17:13:46 2011 --- ./src/pl/plpython/Makefile Wed Mar 16 17:14:29 2011 *************** *** 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) has its own ideas about how to do this. ifeq ($(PORTNAME), darwin) shared_libpython = yes