Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b3199bc

Browse files
committed
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
1 parent 5f644ea commit b3199bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pl/plperl/GNUmakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/src/pl/plperl/GNUmakefile,v 1.8 2001/09/16 16:11:11 petere Exp $
1+
# $Header: /cvsroot/pgsql/src/pl/plperl/GNUmakefile,v 1.9 2002/02/23 21:49:10 momjian Exp $
22

33
subdir = src/pl/plperl
44
top_builddir = ../../..
@@ -14,7 +14,8 @@ all: Makefile
1414

1515
Makefile: Makefile.PL
1616
plperl_installdir='$$(DESTDIR)$(pkglibdir)' \
17-
$(PERL) $< $(makefile_pl_flags) INC='-I$(srcdir) $(filter -I%, $(CPPFLAGS))'
17+
$(PERL) $< $(makefile_pl_flags) LIBS='$(BE_DLLLIBS)' \
18+
INC='-I$(srcdir) $(filter -I%, $(CPPFLAGS))'
1819

1920
install: all installdirs
2021
$(MAKE) -f Makefile install DESTDIR='$(DESTDIR)'

0 commit comments

Comments
 (0)