]> git.tdb.fi Git - builder.git/blobdiff - source/executable.cpp
Split class Package into SourcePackage and BinaryPackage
[builder.git] / source / executable.cpp
index e632937775abc1b73f3c2a798b21c2eda8a20443..d1cc59aa174c278dac0c533e12254cbbbf71c5b7 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include <iostream>
 #include "builder.h"
 #include "component.h"
@@ -25,7 +32,7 @@ Finds and adds any required libraries to the dependencies.
 */
 void Executable::find_depends()
 {
-       LibMode libmode=package->get_library_mode();
+       LibMode libmode=comp.get_package().get_library_mode();
 
        list<const Component *> queue;
        list<Target *> dep_libs;