From 30535972a51ef992c22876c9aada4357e53bd7a0 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 17 Feb 2011 15:37:53 -0700 Subject: [PATCH] tiff: Fix RPATH QA issues Based on the fix for 'acl' Signed-off-by: Tom Rini --- recipes/libtiff/tiff_3.9.4.bb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/recipes/libtiff/tiff_3.9.4.bb b/recipes/libtiff/tiff_3.9.4.bb index f54a19b405..b64b72e5ee 100644 --- a/recipes/libtiff/tiff_3.9.4.bb +++ b/recipes/libtiff/tiff_3.9.4.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://www.remotesensing.org/libtiff/" DEPENDS = "zlib jpeg lzo" PV = "3.9.4+4.0.0beta6" -PR = "r0" +PR = "r1" SRC_URI = "http://download.osgeo.org/libtiff/tiff-4.0.0beta6.tar.gz \ file://tiff-lp589145.diff;striplevel=0 \ @@ -16,7 +16,13 @@ S = "${WORKDIR}/tiff-4.0.0beta6" inherit autotools -EXTRA_OECONF = "--without-x" +EXTRA_OECONF = "--without-x --disable-rpath" + +do_configure_append() { + # Fix RPATH issues. + sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\', + ${S}/config.status +} PACKAGES =+ "tiffxx tiffxx-dbg tiffxx-dev tiff-utils tiff-utils-dbg" FILES_tiffxx = "${libdir}/libtiffxx.so.*" -- 2.39.5