summaryrefslogtreecommitdiff
path: root/make/calcdep.pl
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-07-05 08:07:52 +0100
committerPeter Powell <petpow@saberuk.com>2013-07-07 21:02:47 +0100
commitbac02a28005f06a7ea872cf8a7a6718bb2099f70 (patch)
tree3cf20ddf4b89f925a2bcd0908a38cf991154fb47 /make/calcdep.pl
parentae7b9c53af8cc9a622aefcfe542b48bd2c0a833d (diff)
Replace arguments for toggling socketengines with --socketengine.
Diffstat (limited to 'make/calcdep.pl')
-rwxr-xr-xmake/calcdep.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index e578f585c..26be367f5 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -78,7 +78,7 @@ END
for my $file (<*.cpp>, <modes/*.cpp>, <socketengines/*.cpp>, "threadengines/threadengine_pthread.cpp") {
my $out = find_output $file;
dep_cpp $file, $out, 'gen-o';
- next if $file =~ m#^socketengines/# && $file ne "socketengines/$ENV{SOCKETENGINE}.cpp";
+ next if $file =~ m#^socketengines/# && $file ne "socketengines/socketengine_$ENV{SOCKETENGINE}.cpp";
push @core_deps, $out;
}
@@ -148,7 +148,7 @@ END
mkdir "$ENV{BUILDPATH}/obj/$1";
}
dep_cpp $file, $out, 'gen-o';
- next if $file =~ m#^socketengines/# && $file ne "socketengines/$ENV{SOCKETENGINE}.cpp";
+ next if $file =~ m#^socketengines/# && $file ne "socketengines/socketengine_$ENV{SOCKETENGINE}.cpp";
push @deps, $out;
push @srcs, $file;
}