From: Mikko Rasa Date: Wed, 30 May 2012 19:11:25 +0000 (+0000) Subject: Properly generate the install target for .pc files X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9a98f9a45ddb1d07e42e10ad3f613b02fc2dc16e;p=builder.git Properly generate the install target for .pc files --- diff --git a/source/builder.cpp b/source/builder.cpp index db46e5b..42dc464 100644 --- a/source/builder.cpp +++ b/source/builder.cpp @@ -505,7 +505,7 @@ int Builder::create_targets() if(spkg->get_install_flags()&(SourcePackage::LIB|SourcePackage::INCLUDE)) { PkgConfig *pc = new PkgConfig(*this, *spkg); - install->add_depend(new InstalledFile(*this, *spkg, *pc)); + install->add_depend(toolchain.get_tool("CP").create_target(*pc)); } }