summaryrefslogtreecommitdiff
path: root/make/unit-cc.pl
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-08-04 07:08:41 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-08-04 07:08:41 -0700
commit36f93c0e7f8a980943237b0b28138ade86f5e573 (patch)
tree1136c86e37046d5717bbb9aea97ae558ef4adbe2 /make/unit-cc.pl
parent38eb845f7a98a3140adcdc108abf2adab82b87c0 (diff)
parentcc1d8c1d57abc36effdc1e9383e4d7f5a3ea9ab0 (diff)
Merge pull request #590 from SaberUK/master+module-logging
Change modules to use the MODNAME constant.
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 df718cdb8..55c491e0d 100755
--- a/make/unit-cc.pl
+++ b/make/unit-cc.pl
@@ -102,7 +102,7 @@ sub do_compile {
$flags .= ' ' . getcompilerflags($file);
if ($file =~ m#(?:^|/)((?:m|cmd)_[^/. ]+)(?:\.cpp|/.*\.cpp)$#) {
- $flags .= ' -DMODNAME='.$1.'.so';
+ $flags .= ' -DMODNAME=\\"'.$1.'\\"';
}
} else {
$binary = $ENV{RUNLD};