Patchwork [05/10] musicbrainz: Specify libpthread on cmdline for uclibc

login
register
mail settings
Submitter Khem Raj
Date April 30, 2012, 5:46 p.m.
Message ID <2f920eeb4683e2472c4e60d063612fc140175d03.1335807802.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/26655/
State Accepted
Commit 302e212ae00e06078da6085dcb2b541ab02f6f6e
Headers show

Comments

Khem Raj - April 30, 2012, 5:46 p.m.
uclibc librt needs some functionality from libpthread

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../musicbrainz/libmusicbrainz_3.0.3.bb            |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
index 4814b6d..913c463 100644
--- a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
+++ b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
@@ -6,12 +6,14 @@  LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fbc093901857fcd118f065f900982c24 \
                     file://include/musicbrainz3/includes.h;beginline=1;endline=21;md5=9ab2846573f560cea7561da472803a72"
 DEPENDS = "expat neon"
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/${BPN}-${PV}.tar.gz \
            file://fix_build_issue_for_gcc_4.5.0.patch \
            file://allow-libdir-override.patch "
 
+LDFLAGS_prepend_libc-uclibc = " -lpthread "
+
 SRC_URI[md5sum] = "f4824d0a75bdeeef1e45cc88de7bb58a"
 SRC_URI[sha256sum] = "7fd459a9fd05be9faec60a9a21caa9a1e9fda03147d58d8c7c95f33582a738c5"