From fd6288c584085663d16c8dad8eade4b33608ae93 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 2 Oct 2007 04:45:25 +0000 Subject: [PATCH] r25457: use different location for out-of-tree builds (This used to be commit aa089378a04f84c507a7c31f96499a88de963d06) --- source4/pidl/lib/Parse/Pidl/Samba4/Header.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm index 75d4c235cb4..7a6ffa46d60 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm @@ -10,7 +10,7 @@ use strict; use Parse::Pidl qw(fatal); use Parse::Pidl::Typelist qw(mapTypeName scalar_is_reference); use Parse::Pidl::Util qw(has_property is_constant unmake_str); -use Parse::Pidl::Samba4 qw(is_intree ElementStars ArrayBrackets); +use Parse::Pidl::Samba4 qw(is_intree ElementStars ArrayBrackets choose_header); use vars qw($VERSION); $VERSION = '0.01'; @@ -326,7 +326,7 @@ sub HeaderImport foreach (@imports) { s/\.idl\"$//; s/^\"//; - pidl "#include \"librpc/gen_ndr/$_\.h\"\n"; + pidl choose_header("librpc/gen_ndr/$_\.h", "gen_ndr/$_.h") . "\n"; } }