summaryrefslogtreecommitdiff
path: root/jpeg
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-10 02:06:16 +0000
committerChris Larson <clarson@kergoth.com>2004-05-10 02:06:16 +0000
commitc3a84784975ded5b2d3c3ca7ba9f656b9c7f8fbd (patch)
tree0be401bcfa7dd5aacf24a5943f483ccf441439fb /jpeg
parent37e0f7a767b59a48e086383e966609c0dbfab684 (diff)
Correct the jpeg build to make use of libtool-cross, since it has no configure.in/ac.
BKrev: 409ee3983TMbIIM4xB4BEKIckQjdIw
Diffstat (limited to 'jpeg')
-rw-r--r--jpeg/jpeg_6b.oe9
1 files changed, 2 insertions, 7 deletions
diff --git a/jpeg/jpeg_6b.oe b/jpeg/jpeg_6b.oe
index bdaff21161..e4e25c20e4 100644
--- a/jpeg/jpeg_6b.oe
+++ b/jpeg/jpeg_6b.oe
@@ -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