]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/unit-cc.pl
Change modules to use the MODNAME constant when logging.
[user/henk/code/inspircd.git] / make / unit-cc.pl
index df718cdb82785b0b8b2d248dd7e571868d1d6807..55c491e0d9fa7732a1ebc8ead82ea2a778bb0d4d 100755 (executable)
@@ -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};