summaryrefslogtreecommitdiff
path: root/packages/libidl/libidl_0.8.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libidl/libidl_0.8.3.bb')
-rw-r--r--packages/libidl/libidl_0.8.3.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/libidl/libidl_0.8.3.bb b/packages/libidl/libidl_0.8.3.bb
index a40597718d..2ca114be2c 100644
--- a/packages/libidl/libidl_0.8.3.bb
+++ b/packages/libidl/libidl_0.8.3.bb
@@ -23,6 +23,10 @@ do_stage() {
cp ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR}/libIDL-config-2.orig
cat ${STAGING_BINDIR}/libIDL-config-2.orig | sed -e 's:${includedir}:${STAGING_INCDIR}:' > ${STAGING_BINDIR}/libIDL-config-2
+
+ if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
+ mv ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR_CROSS}/libIDL-config-2
+ fi
}
FILES_${PN} = "${libdir}/*.so.*"