X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=perl%2FMakefile.PL.in;h=8d4eae166cc0b86d9cf110b00975b09d4d0d839b;hb=4cea1b9769079a2cdc143f4fe483e69d5b77a813;hp=f7719604c7fa6022c2671afc9affbadf06ae592f;hpb=ee82b11e06964d05a119b3868a15fac03715bf01;p=idzebra-moved-to-github.git diff --git a/perl/Makefile.PL.in b/perl/Makefile.PL.in index f771960..8d4eae1 100644 --- a/perl/Makefile.PL.in +++ b/perl/Makefile.PL.in @@ -1,10 +1,12 @@ use ExtUtils::MakeMaker; +my $libs = `../idzebra-config --libs`; +my $flags = `../idzebra-config --cflags`; WriteMakefile( 'NAME' => 'IDZebra', 'OBJECT' => 'IDZebra_wrap.o zebra_perl.o' , - 'INC' => "-I@top_srcdir@/index -I../include @YAZINC@", - 'LIBS' => "-L@top_srcdir@/index -lzebra @TCL_LIB@ @YAZLIB@ @ZPERL_LIBS@", + 'INC' => $flags, + 'LIBS' => [$libs], 'OPTIMIZE' => '-g', # 'PREREQ_FATAL' => 1, 'PREREQ_PM' => {