summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/env.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/build/smb_build/env.pm b/source4/build/smb_build/env.pm
index 70c4d7e968..184d094d2d 100644
--- a/source4/build/smb_build/env.pm
+++ b/source4/build/smb_build/env.pm
@@ -67,7 +67,7 @@ includedir=$self->{config}->{includedir}
__EOF__
if ($hasmodules) {
- print OUT "modulesdir=$self->{config}->{modulesdir}\n" ;
+ print OUT "modulesdir=$self->{config}->{modulesdir}/$name\n" ;
}
print OUT "\n";
@@ -79,9 +79,6 @@ __EOF__
print OUT "Version: $version\n";
print OUT "Libs: -L\${libdir} $libs\n";
print OUT "Cflags: -I\${includedir} $cflags\n";
- if ($hasmodules) {
- print OUT "Modulesdir: \${modulesdir}\n";
- }
close(OUT);
}