diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-04-02 11:32:10 +0000 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-04-02 11:32:10 +0000 |
commit | c7a2bcb77ed92c0731bb696e0909ef3184a568e7 (patch) | |
tree | 37ba01a599011b0d4de0ac755f94b4a41b390447 | |
parent | 9633d62015ebf3fb2e280bac9e4c91ec94ffc996 (diff) |
libmikmod: add patch to use LDFLAGS (fixes QA error)
-rw-r--r-- | recipes/libmikmod/libmikmod/ldflags.patch | 12 | ||||
-rw-r--r-- | recipes/libmikmod/libmikmod_3.1.12.bb | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/recipes/libmikmod/libmikmod/ldflags.patch b/recipes/libmikmod/libmikmod/ldflags.patch new file mode 100644 index 0000000000..4261379ee4 --- /dev/null +++ b/recipes/libmikmod/libmikmod/ldflags.patch @@ -0,0 +1,12 @@ +diff -urN libmikmod-3.1.12.orig/libmikmod/Makefile.in libmikmod-3.1.12/libmikmod/Makefile.in +--- libmikmod-3.1.12.orig/libmikmod/Makefile.in 2004-01-21 17:43:52.000000000 +0000 ++++ libmikmod-3.1.12/libmikmod/Makefile.in 2009-04-02 11:28:01.000000000 +0000 +@@ -72,7 +72,7 @@ + rm -f Makefile + + $(LIB): $(OBJ) +- $(LIBTOOL) --mode=link $(CC) -version-info 2:4:0 -o $@ $(OBJ) $(LIBRARY_LIB) -rpath $(DESTDIR)$(libdir) ++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -version-info 2:4:0 -o $@ $(OBJ) $(LIBRARY_LIB) -rpath $(DESTDIR)$(libdir) + + dl_hpux.lo: $(top_srcdir)/dlapi/dl_hpux.c \ + $(top_srcdir)/dlapi/dlfcn.h diff --git a/recipes/libmikmod/libmikmod_3.1.12.bb b/recipes/libmikmod/libmikmod_3.1.12.bb index f1ed9d672c..eabdad4b3e 100644 --- a/recipes/libmikmod/libmikmod_3.1.12.bb +++ b/recipes/libmikmod/libmikmod_3.1.12.bb @@ -2,12 +2,13 @@ DESCRIPTION = "libmikmod is a module player library supporting many formats, inc SECTION = "libs" PRIORITY = "optional" LICENSE = "LGPL" -PR = "r1" +PR = "r2" SRC_URI = "\ ${SOURCEFORGE_MIRROR}/mikmod/libmikmod-${PV}.tar.gz \ file://m4.patch;patch=1 \ file://autofoo.patch;patch=1 \ + file://ldflags.patch;patch=1 \ " inherit autotools binconfig |