[packages] perl: make sure that staging_dir/*/usr/lib/perl5 is in host perl's @INC...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 23 Mar 2011 17:50:01 +0000 (17:50 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 23 Mar 2011 17:50:01 +0000 (17:50 +0000)
SVN-Revision: 26277

lang/perl/Makefile

index 68d7e79..dd0fc06 100644 (file)
@@ -87,7 +87,7 @@ define Build/perl/Configure
        @echo "===> Stage 1: Configure host perl"
        @echo
        mkdir -p $(PKG_BUILD_DIR)/host-perl
-       (cd $(PKG_BUILD_DIR)/host-perl && sh ../Configure -der -Dmksymlinks -Uusedl)
+       (cd $(PKG_BUILD_DIR)/host-perl && sh ../Configure -der -Dmksymlinks -Uusedl -Dotherlibdirs=$(PERL_LIB))
 
        @echo
        @echo "===> Stage 2: Build host perl binary with static extensions"