summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-11-07 01:00:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:01 -0500
commit9972dc2549d3a67d8790d3a1dfd02a82584ec1b2 (patch)
treec193996be1807af89394ea92b25c6a4c24a9c574
parent13dbee3ffea6065a826f010e50c9b4eb2c6ad109 (diff)
downloadsamba-9972dc2549d3a67d8790d3a1dfd02a82584ec1b2.tar.gz
samba-9972dc2549d3a67d8790d3a1dfd02a82584ec1b2.tar.bz2
samba-9972dc2549d3a67d8790d3a1dfd02a82584ec1b2.zip
r19599: Fix --includedir.
(This used to be commit 0da2bbcf766dc25805ad583fae185045bb390a5f)
-rw-r--r--source4/pidl/idl.yp2
-rw-r--r--source4/pidl/lib/Parse/Pidl/IDL.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp
index cfbc0f200f..57061800b6 100644
--- a/source4/pidl/idl.yp
+++ b/source4/pidl/idl.yp
@@ -511,7 +511,7 @@ sub parse_file($$)
if (! defined $cpp) {
$cpp = "cpp";
}
- my $includes = map { " -I$_" } @$incdirs;
+ my $includes = join('',map { " -I$_" } @$incdirs);
my $data = `$cpp -D__PIDL__$includes -xc $filename`;
$/ = $saved_delim;
diff --git a/source4/pidl/lib/Parse/Pidl/IDL.pm b/source4/pidl/lib/Parse/Pidl/IDL.pm
index d237db7137..85c5b8b828 100644
--- a/source4/pidl/lib/Parse/Pidl/IDL.pm
+++ b/source4/pidl/lib/Parse/Pidl/IDL.pm
@@ -3144,7 +3144,7 @@ sub parse_file($$)
if (! defined $cpp) {
$cpp = "cpp";
}
- my $includes = map { " -I$_" } @$incdirs;
+ my $includes = join('',map { " -I$_" } @$incdirs);
my $data = `$cpp -D__PIDL__$includes -xc $filename`;
$/ = $saved_delim;