]> git.tdb.fi Git - builder.git/blobdiff - source/builder.cpp
Replace per-file copyright notices with a single file
[builder.git] / source / builder.cpp
index c8091ffd822eb2de8bf28b3a70551641ecd280e1..63ae0613a737fc2939dec7e36e86113458777841 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include <set>
 #include <cstdlib>
 #include <msp/core/getopt.h>
@@ -461,6 +454,10 @@ Target *Builder::get_library(const string &lib, const list<string> &path, LibMod
        {
                syspath.push_back("/lib");
                syspath.push_back("/usr/lib");
+               if(current_arch->match_name("pc-32-linux"))
+                       syspath.push_back("/usr/lib/i386-linux-gnu");
+               else if(current_arch->match_name("pc-64-linux"))
+                       syspath.push_back("/usr/lib/x86_64-linux-gnu");
        }
        else
                syspath.push_back("/usr/"+current_arch->get_cross_prefix()+"/lib");