Don't throw for packages with no installable components
Don't create spurious symlinks in bootstrap.sh
exit 1
fi
if [ $i = "core" ]; then
- ln -sf $path/source/core include/msp/core
- ln -sf $path/source/time include/msp/time
+ ln -sfT $path/source/core include/msp/core
+ ln -sfT $path/source/time include/msp/time
elif [ $i = "misc" ]; then
ln -sf $path/source/*.h include/msp
else
- ln -sf $path/source include/msp/$i
+ ln -sfT $path/source include/msp/$i
fi
sources="$sources `find $path/source -name '*.cpp'`"
done
if(!i->second->get_buildable())
continue;
+ Path::Path inst_base;
+ if(i->second->get_config().is_option("prefix"))
+ inst_base=i->second->get_config().get_option("prefix").value;
+
const ComponentList &components=i->second->get_components();
for(ComponentList::const_iterator j=components.begin(); j!=components.end(); ++j)
{
files.push_back(*k / *l);
}
- Path::Path inst_base=i->second->get_config().get_option("prefix").value;
-
bool build_exe=j->get_type()!=Component::HEADERS;
list<ObjectFile *> objs;
Component::Component(Package &p, Type t, const string &n):
pkg(p),
type(t),
- name(n)
+ name(n),
+ install(false)
{ }
void Component::create_build_info()