summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-10-02 04:45:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:39 -0500
commitfd6288c584085663d16c8dad8eade4b33608ae93 (patch)
treeefbb75384d9a96f3fbf0aae9ae9f706cbc8e1420 /source4/pidl
parent5ecd526d1ca41821118165af039d16d0e729b59d (diff)
downloadsamba-fd6288c584085663d16c8dad8eade4b33608ae93.tar.gz
samba-fd6288c584085663d16c8dad8eade4b33608ae93.tar.bz2
samba-fd6288c584085663d16c8dad8eade4b33608ae93.zip
r25457: use different location for out-of-tree builds
(This used to be commit aa089378a04f84c507a7c31f96499a88de963d06)
Diffstat (limited to 'source4/pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/Header.pm4
1 files 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 75d4c235cb..7a6ffa46d6 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";
}
}