# Makefile for PL/Perl
-# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.29 2007/02/09 15:56:00 petere Exp $
+# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.30 2007/02/10 04:26:24 tgl Exp $
subdir = src/pl/plperl
top_builddir = ../../..
ifneq (,$(findstring yes, $(shared_libperl)$(allow_nonpic_in_shlib)))
ifeq ($(PORTNAME), win32)
-perl_archlibexp = $(subst \,/,$(perl_archlibexp))
-perl_privlibexp = $(subst \,/,$(perl_privlibexp))
+perl_archlibexp := $(subst \,/,$(perl_archlibexp))
+perl_privlibexp := $(subst \,/,$(perl_privlibexp))
perl_embed_ldflags = -L$(perl_archlibexp)/CORE -lperl58
override CPPFLAGS += -DPLPERL_HAVE_UID_GID
endif
-# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.27 2007/02/09 15:56:00 petere Exp $
+# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.28 2007/02/10 04:26:24 tgl Exp $
subdir = src/pl/plpython
top_builddir = ../../..
# and we have to remove -lpython from the link since we are building our own
ifeq ($(PORTNAME), win32)
shared_libpython = yes
-python_includespec = $(subst \,/,$(python_includespec))
+python_includespec := $(subst \,/,$(python_includespec))
override python_libspec =
endif