Correct the jpeg build to make use of libtool-cross, since it has no configure.in/ac.
authorChris Larson <clarson@kergoth.com>
Mon, 10 May 2004 02:06:16 +0000 (02:06 +0000)
committerChris Larson <clarson@kergoth.com>
Mon, 10 May 2004 02:06:16 +0000 (02:06 +0000)
BKrev: 409ee3983TMbIIM4xB4BEKIckQjdIw

jpeg/jpeg_6b.oe

index bdaff21..e4e25c2 100644 (file)
@@ -1,7 +1,7 @@
 SECTION = "libs"
 PRIORITY = "required"
 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
-DEPENDS = "virtual/libc"
+DEPENDS = "virtual/libc libtool-cross"
 DESCRIPTION = "libjpeg is a library for handling the JPEG (JFIF) image format."
 PACKAGES =+ "jpeg-tools "
 FILES_jpeg-tools = "${bindir}"
@@ -13,15 +13,10 @@ SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
 inherit autotools 
 
 EXTRA_OECONF="--enable-static --enable-shared"
+EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR}/${TARGET_PREFIX}libtool"'
 
 CFLAGS_append = " -D_REENTRANT"
 
-# This doesn't seem to exist, we need it to for our libtool.oeclass
-# to work properly, ensure that it does exist.
-do_configure_prepend() {
-       touch ${S}/libtool
-}
-
 do_stage() {
        install -m 644 jconfig.h ${STAGING_INCDIR}/jconfig.h
        install -m 644 jpeglib.h ${STAGING_INCDIR}/jpeglib.h