wafsamba: add perl_fixup parameter to INSTALL_FILES
commitf73a0c2af9748d57721211472cd6c50b990ee693
authorMichael Adam <obnox@samba.org>
Thu, 17 Jul 2014 14:54:54 +0000 (17 16:54 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 5 Sep 2014 17:47:06 +0000 (5 19:47 +0200)
treeed3230c377a0ed89d2b9d9d37565a2bcb2ebe2f4
parente7fc38a7df90e26a96ec5573042dccc1746e4f2c
wafsamba: add perl_fixup parameter to INSTALL_FILES

This fixes the search path for modules when installing
a perl "binary" by replacing a line 'use lib "$RealBin/lib";'
which works for the build directory with the appropriate
"use lib" line.

This is a step in allowing to install perl modules under the
prefix directory again.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
buildtools/wafsamba/wafsamba.py