mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Transmit -I switches selected by configure (particularly those from
--with-includes) to makefiles for pltcl and plperl, so that these switches will be used even though we do not want other top-level CFLAGS. Ain't it fun trying to support multiple-compiler platforms?
This commit is contained in:
@@ -54,7 +54,7 @@ my $perllib = "-L$Config{archlibexp}/CORE -lperl";
|
||||
|
||||
WriteMakefile( 'NAME' => 'plperl',
|
||||
dynamic_lib => { 'OTHERLDFLAGS' => "$opcode $perllib" } ,
|
||||
INC => '-I$(SRCDIR)/include -I$(SRCDIR)/backend',
|
||||
INC => '-I$(SRCDIR)/include -I$(SRCDIR)/backend $(PGSQL_INCLUDES)',
|
||||
XS => { 'SPI.xs' => 'SPI.c' },
|
||||
OBJECT => 'plperl.o eloglvl.o SPI.o',
|
||||
);
|
||||
|
Reference in New Issue
Block a user