summaryrefslogtreecommitdiff
path: root/make/calcdep.pl
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-07-12 08:59:26 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-07-12 08:59:26 -0700
commit6033f1d6fa3d37e068a56c29ef47b220abb3174d (patch)
tree3cf20ddf4b89f925a2bcd0908a38cf991154fb47 /make/calcdep.pl
parentae7b9c53af8cc9a622aefcfe542b48bd2c0a833d (diff)
parentbac02a28005f06a7ea872cf8a7a6718bb2099f70 (diff)
Merge pull request #585 from SaberUK/master+configure-engine-selection
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;
}