summaryrefslogtreecommitdiff
blob: 88248b4432f1b73cf6a6564558482ba348efa97e (plain)
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'
 );