1 2 3 4 5 6 7 8 9
--- scripts/perl/Makefile.PL +++ scripts/perl/Makefile.PL @@ -37,5 +37,6 @@ 'LDFROM' => $ldfrom, 'CC' => $CC, 'LD' => '$(CC)', 'INC' => '-I../../include -I'.$cmakesrcdir.'/include', + 'DESTDIR' => @ENV{"D"}, 'OBJECT' => 'openbabel-perl.o' );