Perl library should honor the INSTALLDIRS variable

Author: Esteve Fernandez

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@749472 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/perl/Makefile.am b/lib/perl/Makefile.am
index fba568e..d942002 100644
--- a/lib/perl/Makefile.am
+++ b/lib/perl/Makefile.am
@@ -1,7 +1,7 @@
 SUBDIRS = test
 
 Makefile-perl.mk : Makefile.PL
-	$(PERL) Makefile.PL MAKEFILE=Makefile-perl.mk
+	$(PERL) Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=$(INSTALLDIRS)
 
 all-local: Makefile-perl.mk
 	$(MAKE) -f Makefile-perl.mk