X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=e674b018aabf42c338585ef6072e76f70221f111;hb=69ad3610053e140cb5108f53e4c46a0583e33559;hp=f4e8fc2ee734f11e3306b38a03a60e7309d8a027;hpb=4d0d003b022943d8a0e39ba19078bab8d32d8857;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index f4e8fc2..e674b01 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -5,7 +5,7 @@ Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ -#include +#include #include #include #include "builder.h" @@ -41,6 +41,11 @@ void Component::create_build_info() for(PackageList::iterator i=requires.begin(); i!=requires.end(); ++i) build_info.add((*i)->get_exported_binfo()); + for(StringList::iterator i=build_info.incpath.begin(); i!=build_info.incpath.end(); ++i) + *i=(pkg.get_source() / *i).str(); + for(StringList::iterator i=build_info.libpath.begin(); i!=build_info.libpath.end(); ++i) + *i=(pkg.get_source() / *i).str(); + if(type==PROGRAM) { string strip=pkg.get_config().get_option("strip").value;