Ticket #16165: patch-Makefile.PL.diff

File patch-Makefile.PL.diff, 744 bytes (added by vinc17@…, 16 years ago)

patch for rrdtool 1.3.1 to solve this bug

  • bindings/perl-shared/Makefile.PL

    old new  
    2323# library after it is installed. This install_name gets transfered
    2424# to the perl shared object.
    2525
    26 my $librrd = "-L../../src/.libs/ $R -lrrd";
     26my $librrd = "$R -lrrd";
    2727
    2828WriteMakefile(
    2929    'NAME'         => 'RRDs',
     
    3333    # Perl will figure out which one is valid
    3434    #'dynamic_lib'  => {'OTHERLDFLAGS' => "$librrd -lm"},
    3535    'depend'       => {'RRDs.c' => "../../src/librrd.la"},
     36    'LDDLFLAGS'    => "-L../../src/.libs/ $Config{lddlflags}",
    3637    'LDFROM'       => '$(OBJECT) '.$librrd,
    3738    'realclean'    => {FILES => 't/demo?.rrd t/demo?.png' }
    3839);