X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=bindings%2Fperl-shared%2FMakefile.PL;h=4fb14e56d82c36064b2837820398ad230e976470;hb=09aeabf159a489a427358ab66e48ba42303778f7;hp=2f2618e0d1437100eb02877932482c33cc12f7cd;hpb=b02eace34f83a08c55830cb05bc55078153e2ba6;p=rrdtool.git diff --git a/bindings/perl-shared/Makefile.PL b/bindings/perl-shared/Makefile.PL index 2f2618e..4fb14e5 100644 --- a/bindings/perl-shared/Makefile.PL +++ b/bindings/perl-shared/Makefile.PL @@ -4,7 +4,7 @@ use Config; # the contents of the Makefile that is written. # Specify the location of the archive containing PIC compiled object files. -my $R = $^O eq 'Linux' ? "-Wl,--rpath -Wl," : "-R" ; +my $R = $^O eq 'linux' ? "-Wl,--rpath -Wl," : "-R" ; my $librrd = "-L../../src/.libs/ $R\$(RPATH) -lrrd"; WriteMakefile( @@ -12,9 +12,7 @@ WriteMakefile( 'VERSION_FROM' => 'RRDs.pm', # finds $VERSION 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}", 'INC' => '-I../../src', - # where to look for the necessary libraries # Perl will figure out which one is valid - 'depend' => {'RRDs.c' => "../../src/.libs/librrd.so"}, 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm"}, 'realclean' => {FILES => 't/demo?.rrd t/demo?.png' } );