]> git.tdb.fi Git - builder.git/commitdiff
Change the suffix of modules
authorMikko Rasa <tdb@tdb.fi>
Sat, 29 Oct 2016 16:44:24 +0000 (19:44 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 29 Oct 2016 16:44:24 +0000 (19:44 +0300)
.m is already used by Objective-C.  It seems there's some precedent of
.dlm as Dynamic Link Module.

source/sharedlibrary.cpp

index 6c816bd43bf3d5cf0cebdc425ada3d01d2e225fe..c25c6f213f3e7c791525aad240259384335c60ac 100644 (file)
@@ -62,7 +62,7 @@ string SharedLibrary::generate_filename(const Component &comp)
 {
        const BinaryComponent &bcomp = dynamic_cast<const BinaryComponent &>(comp);
        if(bcomp.get_type()==BinaryComponent::MODULE)
-               return comp.get_name()+".m";
+               return comp.get_name()+".dlm";
        else
        {
                const Architecture &arch = comp.get_package().get_builder().get_current_arch();