summaryrefslogtreecommitdiff
path: root/jpeg
diff options
context:
space:
mode:
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