Commit b3199bc9 authored by Bruce Momjian's avatar Bruce Momjian

OK'ed by Peter.

The attached patch enables plperl to build under Cygwin.  It is
basically yet another BE_DLLLIBS patch with a perl MakeMaker twist.  I
tried the patch under Red Hat 7.1 Linux too and I did not observe any
ill effects.

Jason Tishler
parent 5f644ea6
# $Header: /cvsroot/pgsql/src/pl/plperl/GNUmakefile,v 1.8 2001/09/16 16:11:11 petere Exp $ # $Header: /cvsroot/pgsql/src/pl/plperl/GNUmakefile,v 1.9 2002/02/23 21:49:10 momjian Exp $
subdir = src/pl/plperl subdir = src/pl/plperl
top_builddir = ../../.. top_builddir = ../../..
...@@ -14,7 +14,8 @@ all: Makefile ...@@ -14,7 +14,8 @@ all: Makefile
Makefile: Makefile.PL Makefile: Makefile.PL
plperl_installdir='$$(DESTDIR)$(pkglibdir)' \ plperl_installdir='$$(DESTDIR)$(pkglibdir)' \
$(PERL) $< $(makefile_pl_flags) INC='-I$(srcdir) $(filter -I%, $(CPPFLAGS))' $(PERL) $< $(makefile_pl_flags) LIBS='$(BE_DLLLIBS)' \
INC='-I$(srcdir) $(filter -I%, $(CPPFLAGS))'
install: all installdirs install: all installdirs
$(MAKE) -f Makefile install DESTDIR='$(DESTDIR)' $(MAKE) -f Makefile install DESTDIR='$(DESTDIR)'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment