]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.cpp
Move the Component reference to Target and make it a pointer
[builder.git] / source / sharedlibrary.cpp
index fac651a8e3518737187f817c0d4d14ee2575e036..c4f42e574ed7a484150966c063d9513d6bb72437 100644 (file)
@@ -14,7 +14,7 @@ SharedLibrary::SharedLibrary(Builder &b, const Component &c, const list<ObjectFi
        soname(create_soname(c))
 {
        install_location = "lib";
-       if(comp.get_type()==Component::MODULE)
+       if(component->get_type()==Component::MODULE)
        {
                install_location += '/';
                install_location += package->get_name();