[oe] [STABLE][PATCH] flite-1.3: use LDFLAGS (fixes QA error)

Jeremy Lainé jeremy.laine at bolloretelecom.eu
Mon Apr 6 16:48:00 UTC 2009


From: Jeremy Lainé <jeremy.laine at m4x.org>


Signed-off-by: Jeremy Lainé <jeremy.laine at m4x.org>
---
 recipes/flite/flite-1.3/flite-1.3-Makefile.patch |    3 ++-
 recipes/flite/flite_1.3.bb                       |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/flite/flite-1.3/flite-1.3-Makefile.patch b/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
index 9a1a82e..5b532fd 100644
--- a/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
+++ b/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
@@ -317,9 +317,10 @@ Index: config/common_make_rules
  	@ rm -rf shared_os && mkdir shared_os
  	@ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} 
  	@ (cd shared_os && ar x ../$<)
- 	@ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
+-	@ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
 -	@ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
 -	@ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
++	@ (cd shared_os && $(CC) $(LDFLAGS) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
 +	#@ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
 +	#@ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
 +	@ ln -s $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
diff --git a/recipes/flite/flite_1.3.bb b/recipes/flite/flite_1.3.bb
index 360ccb0..b553689 100644
--- a/recipes/flite/flite_1.3.bb
+++ b/recipes/flite/flite_1.3.bb
@@ -1,6 +1,6 @@
 require flite.inc
 
-PR = "r3"
+PR = "r4"
 
 EXTRA_OECONF = "--with-audio=oss --enable-shared"
 
-- 
1.6.2.1





More information about the Openembedded-devel mailing list