diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-03-05 16:28:29 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-03-05 16:28:29 +0100 |
commit | 050c2cf253e27847f50eec29c5502904b112437b (patch) | |
tree | 3e69a643ded6625ca6b07ae15b55a35337557570 /make/unit-cc.pl | |
parent | 8de3635fab6d3de02b4a352380448316ebefe825 (diff) |
Integrate coremods into the build system
Diffstat (limited to 'make/unit-cc.pl')
-rwxr-xr-x | make/unit-cc.pl | 2 |
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 { |