提交 63746a90 编写于 作者: T Tom Lane

plperl's makefile tried to use perl's choice of compiler with

postgres's choice of compiler options.  Tres uncool.
上级 fac4f9a6
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册