diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-02-19 19:02:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-02-19 19:02:20 +0000 |
commit | 63746a90c137576be424e049bc83d7598da7ec58 (patch) | |
tree | 879ad0e7a83bd74bbbc6240a6b9baa96ff3e55b2 | |
parent | fac4f9a6984ce9428d4c62ac219d10287697fd35 (diff) | |
download | postgresql-63746a90c137576be424e049bc83d7598da7ec58.tar.gz postgresql-63746a90c137576be424e049bc83d7598da7ec58.zip |
plperl's makefile tried to use perl's choice of compiler with
postgres's choice of compiler options. Tres uncool.
-rw-r--r-- | src/pl/plperl/Makefile.PL | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/pl/plperl/Makefile.PL b/src/pl/plperl/Makefile.PL index 9285668917b..add0dfd32b0 100644 --- a/src/pl/plperl/Makefile.PL +++ b/src/pl/plperl/Makefile.PL @@ -56,17 +56,13 @@ TYPEMAP= -typemap \$(EXTDIR)/typemap # use the same compiler as perl did CC= $Config{cc} -# get the compiler options that perl wants. -CFLAGS+= @{[ccopts()]} +# use the same compiler options as perl did, too +CFLAGS= @{[ccopts()]} # including the ones for dynamic loading CFLAGS+= $Config{cccdlflags} -# add the includes for postgreSQL -CFLAGS+= -I\$(LIBPQDIR) -I\$(SRCDIR)/include - -# For fmgr.h -CFLAGS+= -I\$(SRCDIR)/backend - +# now add the includes for postgreSQL +CFLAGS+= -I\$(LIBPQDIR) -I\$(SRCDIR)/include -I\$(SRCDIR)/backend # add the postgreSQL libraries LDADD+= -L\$(LIBPQDIR) -lpq |