[oe-commits] Henning Heinold : flac: fix build problems with rpath on older libtool

git version control git at git.openembedded.org
Tue Feb 15 17:48:05 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: c719c6c1857ec724e7f90f0e475b1e7c84020ef5
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c719c6c1857ec724e7f90f0e475b1e7c84020ef5

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Tue Feb 15 18:45:17 2011 +0100

flac: fix build problems with rpath on older libtool

* bump INC_PR

---

 recipes/flac/flac.inc |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes/flac/flac.inc b/recipes/flac/flac.inc
index 15a8d04..2b35d64 100644
--- a/recipes/flac/flac.inc
+++ b/recipes/flac/flac.inc
@@ -7,7 +7,7 @@ DEPENDS = "libogg"
 SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \
 	   file://xmms.m4"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 inherit autotools gettext
 
@@ -18,7 +18,8 @@ EXTRA_OECONF = "--disable-oggtest --disable-id3libtest \
 		--without-xmms-prefix \
 		--without-xmms-exec-prefix \
 		--without-libiconv-prefix \
-		--without-id3lib"
+		--without-id3lib \
+               "
 
 do_configure () {
 	install -d ${S}/m4
@@ -27,6 +28,9 @@ do_configure () {
 	# removes '-read-only-relocs' which is enabled for PowerPC builds.
 	# It makes the build fail, other archs are not affected. Fixes #1775.
 	sed -i 's/-Wl,-read_only_relocs,warning//g' src/libFLAC/Makefile
+        # use same fix as libiconv
+        sed -i -e  s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ \
+               -e s/^runpath_var/#runpath_var/ ${S}/*-libtool
 }
 
 PACKAGES += "libflac libflac++ liboggflac liboggflac++"





More information about the Openembedded-commits mailing list