summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/librpc/idl-deps.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/librpc/idl-deps.pl b/source4/librpc/idl-deps.pl
index 4d97139fc5..b3f0451eeb 100644
--- a/source4/librpc/idl-deps.pl
+++ b/source4/librpc/idl-deps.pl
@@ -1,6 +1,7 @@
#!/usr/bin/perl
use strict;
use File::Basename;
+use Cwd 'abs_path';
sub add($$)
{
@@ -19,6 +20,7 @@ foreach(@ARGV) {
my $gen_ndr = dirname($f);
$gen_ndr =~ s/\/idl$/\/gen_ndr/;
+ $gen_ndr = abs_path($gen_ndr);
print "# $f\n";
add("IDL_FILES", $f);