fix install paths on libtool cross tools
authorGerald Britton <gbritton@doomcom.org>
Sun, 9 May 2004 05:28:44 +0000 (05:28 +0000)
committerGerald Britton <gbritton@doomcom.org>
Sun, 9 May 2004 05:28:44 +0000 (05:28 +0000)
BKrev: 409dc18cMDbv_ajw2oSbghn64aw0EA

libtool/libtool-cross_1.5.oe
libtool/libtool-native_1.5.oe

index d8230bd..4aed5a3 100644 (file)
@@ -11,8 +11,9 @@ SRC_URI_append = " file://${FILESDIR}/libdir-la.patch;patch=1 \
                    file://${FILESDIR}/chmod.patch;patch=1"
 S = "${WORKDIR}/libtool-${PV}"
 
-prefix = "${CROSS_DIR}"
-exec_prefix = "${prefix}"
+# This should match what native.oeclass does
+prefix = "${STAGING_DIR}"
+exec_prefix = "${prefix}/${BUILD_SYS}"
 
 do_compile () {
 }
index 7014467..a34b8d4 100644 (file)
@@ -13,9 +13,6 @@ SRC_URI_append = " file://${FILESDIR}/libdir-la.patch;patch=1 \
                    file://${FILESDIR}/install-path-check.patch;patch=1"
 S = "${WORKDIR}/libtool-${PV}"
 
-prefix = "${CROSS_DIR}"
-exec_prefix = "${prefix}"
-
 do_stage () {
         oe_runmake install
         install -d ${STAGING_DATADIR}/libtool \