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

Submitted by Ross Burton on Dec. 14, 2012, 2:51 p.m.

Details

Message ID 1355496684-1498-4-git-send-email-ross.burton@intel.com
State Accepted
Commit 4fd512fce2542268d8cf9089df0ff906ed450337
Headers show

Commit Message

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 hide | download patch | download mbox

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"