summaryrefslogtreecommitdiff
path: root/make/unit-cc.pl
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-03-05 16:28:29 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-03-05 16:28:29 +0100
commit050c2cf253e27847f50eec29c5502904b112437b (patch)
tree3e69a643ded6625ca6b07ae15b55a35337557570 /make/unit-cc.pl
parent8de3635fab6d3de02b4a352380448316ebefe825 (diff)
Integrate coremods into the build system
Diffstat (limited to 'make/unit-cc.pl')
-rwxr-xr-xmake/unit-cc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl
index 5b0c50021..77f97a3f2 100755
--- a/make/unit-cc.pl
+++ b/make/unit-cc.pl
@@ -99,7 +99,7 @@ sub do_compile {
if ($do_compile) {
$flags = $ENV{CORECXXFLAGS} . ' ' . get_property($file, 'CompileFlags');
- if ($file =~ m#(?:^|/)((?:m|cmd)_[^/. ]+)(?:\.cpp|/.*\.cpp)$#) {
+ if ($file =~ m#(?:^|/)((?:m|core)_[^/. ]+)(?:\.cpp|/.*\.cpp)$#) {
$flags .= ' -DMODNAME=\\"'.$1.'\\"';
}
} else {