summaryrefslogtreecommitdiff
path: root/make/calcdep.pl
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-16 22:42:36 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-16 22:42:36 +0000
commit3841c4b04a96389a4661535d12d5215a621d8736 (patch)
tree62098e63cc622d9889a9ed205a1c4487c8c20c84 /make/calcdep.pl
parent558a44bf47370b68b14d0837bfae13c651ecf5c4 (diff)
Attempt to revert r11734
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11735 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/calcdep.pl')
-rwxr-xr-xmake/calcdep.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index d8b4e292b..261b6ec18 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -51,7 +51,7 @@ sub dep_cpp {
my($file, $dfile) = @_;
gendep $file;
my($path,$base) = $file =~ m#^((?:.*/)?)([^/]+)\.cpp# or die "Bad file $file";
- my $ext = $path eq 'modules/' ? '.so' : '.o';
+ my $ext = $path eq 'modules/' || $path eq 'commands/' ? '.so' : '.o';
my $out = "$path$base$ext";
$dfile = "$baseout/$path.$base.d" unless defined $dfile;