Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac4f9a commit 63746a9Copy full SHA for 63746a9
src/pl/plperl/Makefile.PL
@@ -56,17 +56,13 @@ TYPEMAP= -typemap \$(EXTDIR)/typemap
56
# use the same compiler as perl did
57
CC= $Config{cc}
58
59
-# get the compiler options that perl wants.
60
-CFLAGS+= @{[ccopts()]}
+# use the same compiler options as perl did, too
+CFLAGS= @{[ccopts()]}
61
# including the ones for dynamic loading
62
CFLAGS+= $Config{cccdlflags}
63
64
-# add the includes for postgreSQL
65
-CFLAGS+= -I\$(LIBPQDIR) -I\$(SRCDIR)/include
66
-
67
-# For fmgr.h
68
-CFLAGS+= -I\$(SRCDIR)/backend
69
+# now add the includes for postgreSQL
+CFLAGS+= -I\$(LIBPQDIR) -I\$(SRCDIR)/include -I\$(SRCDIR)/backend
70
71
# add the postgreSQL libraries
72
LDADD+= -L\$(LIBPQDIR) -lpq
0 commit comments