wafsamba: add perl_fixup parameter to INSTALL_FILES
commit6d80bf268ab6cc49774eb35962d4f7b8cc5e8945
authorMichael Adam <obnox@samba.org>
Thu, 17 Jul 2014 14:54:54 +0000 (17 16:54 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 18 Nov 2014 20:09:04 +0000 (18 21:09 +0100)
treef5751c5efc4ae794d2ae8d2d9a187f11dbfa4e4a
parentc32733c345d13f6973d179f3552b1b3b980384b8
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>
(cherry picked from commit f73a0c2af9748d57721211472cd6c50b990ee693)
buildtools/wafsamba/wafsamba.py