Patchwork [3/9] pkgconfig: fix out-of-tree builds

login
register
mail settings
Submitter Ross Burton
Date Dec. 14, 2012, 2:51 p.m.
Message ID <1355496684-1498-4-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/41003/
State Accepted
Commit 4fd512fce2542268d8cf9089df0ff906ed450337
Headers show

Comments

Ross Burton - Dec. 14, 2012, 2:51 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-devtools/pkgconfig/pkgconfig.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig.inc b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
index 27d4071..c54e325 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig.inc
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
@@ -27,7 +27,8 @@  EXTRA_OECONF_class-nativesdk = "--disable-legacy-scripts"
 
 acpaths = "-I ."
 do_configure_prepend () {
-	install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.10/
+	mkdir --parents ${B}/glib-1.2.10
+	install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h ${B}/glib-1.2.10/
 }
 
 BBCLASSEXTEND = "native nativesdk"