diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-08-25 18:47:57 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-08-25 12:59:09 +0200 |
commit | acdd06bbf06ab549d3e9b35958cb4177c1b88836 (patch) | |
tree | d361997900ef77f34862024f8bb3150bd06fbf1d /recipes/musicbrainz/libmusicbrainz.inc | |
parent | 1548843c0ee58aadd7d0a2c817e98c47d2c2c4e5 (diff) |
libmusicbrainz: Add version 3.0.2 and fix link error
With gcc 4.3 stdc++ symbols leak into the library. One way to
solve it is to use a custom linker script, another one is to
just point gcc to the c++ library. The second option is used
here right now.
Diffstat (limited to 'recipes/musicbrainz/libmusicbrainz.inc')
-rw-r--r-- | recipes/musicbrainz/libmusicbrainz.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/musicbrainz/libmusicbrainz.inc b/recipes/musicbrainz/libmusicbrainz.inc new file mode 100644 index 0000000000..64a7f50794 --- /dev/null +++ b/recipes/musicbrainz/libmusicbrainz.inc @@ -0,0 +1,19 @@ +DEFAULT_PREFERENCE = "-1" + +DESCRIPTION = "The MusicBrainz client is a library which can be built into other programs. \ +It allows you to access the data held on the MusicBrainz server." +HOMEPAGE = "http://musicbrainz.org" +LICENSE = "LGPL" +DEPENDS = "expat neon" + +SRC_URI = "ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-${PV}.tar.gz" + +inherit cmake pkgconfig + +# Fight a compiler/link bug that leaks too many c++ symbols +TARGET_LDFLAGS += " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib " + +do_stage() { + autotools_stage_all +} + |