From 9a98f9a45ddb1d07e42e10ad3f613b02fc2dc16e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 30 May 2012 19:11:25 +0000 Subject: [PATCH] Properly generate the install target for .pc files --- source/builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- 2.45.2