projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33bcafa
)
Use idzebra-config for Perl Makefile
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 9 Sep 2004 14:07:06 +0000
(14:07 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 9 Sep 2004 14:07:06 +0000
(14:07 +0000)
perl/Makefile.PL.in
patch
|
blob
|
history
diff --git
a/perl/Makefile.PL.in
b/perl/Makefile.PL.in
index
f771960
..
8d4eae1
100644
(file)
--- 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' => {