wafsamba: add perl_fixup parameter to INSTALL_FILES
commit50f3e565427ac2d31c9641aa02ff94103a2f07a3
authorMichael Adam <obnox@samba.org>
Thu, 17 Jul 2014 14:54:54 +0000 (17 16:54 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 17 Nov 2014 20:21:13 +0000 (17 21:21 +0100)
tree7680c9646dc444b92d3bfad694ae71eb8e60f5be
parent016f1ef8dab09a9f3fde1f76cc556504f2f579f9
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