pidl: fix the perl module search path (use lib ...) when installing pidl.
authorMichael Adam <obnox@samba.org>
Mon, 25 Aug 2014 21:57:23 +0000 (23:57 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 5 Sep 2014 17:47:06 +0000 (19:47 +0200)
This way, pidl can also run with modules installed under the $prefix.

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

Signed-off-by: Michael Adam <obnox@samba.org>
pidl/wscript

index c4edf57ddbb534f394c4d56588d7b5664c67bab4..0d7626c89f51252bdab3e1fb85592aa7d2a224da 100644 (file)
@@ -43,7 +43,7 @@ def configure(conf):
     conf.find_program('pod2man', var='POD2MAN')
 
 def build(bld):
-    bld.INSTALL_FILES('${BINDIR}', 'pidl', chmod=MODE_755)
+    bld.INSTALL_FILES('${BINDIR}', 'pidl', chmod=MODE_755, perl_fixup=True)
 
     bld.RECURSE('lib')