diff options
Diffstat (limited to 'packages/libidl')
-rw-r--r-- | packages/libidl/libidl_0.8.3.bb | 8 | ||||
-rw-r--r-- | packages/libidl/libidl_0.8.6.bb | 7 |
2 files changed, 12 insertions, 3 deletions
diff --git a/packages/libidl/libidl_0.8.3.bb b/packages/libidl/libidl_0.8.3.bb index e743247390..2ca114be2c 100644 --- a/packages/libidl/libidl_0.8.3.bb +++ b/packages/libidl/libidl_0.8.3.bb @@ -20,10 +20,14 @@ do_stage() { libdir=${STAGING_LIBDIR} \ datadir=${STAGING_DATADIR} \ infodir=${STAGING_INFODIR} - + 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.*" -FILES_${PN}-dev += " ${bindir}" +FILES_${PN}-dev += " ${bindir}" diff --git a/packages/libidl/libidl_0.8.6.bb b/packages/libidl/libidl_0.8.6.bb index 16e95ac3d6..916bfb6e5f 100644 --- a/packages/libidl/libidl_0.8.6.bb +++ b/packages/libidl/libidl_0.8.6.bb @@ -16,7 +16,12 @@ do_stage() { autotools_stage_all cat ${S}/libIDL-config-2 | 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.*" -FILES_${PN}-dev += " ${bindir}" +FILES_${PN}-dev += " ${bindir}" |