Patchwork [6/7] bison: link in librt on uclibc

login
register
mail settings
Submitter Khem Raj
Date June 27, 2012, 6:09 a.m.
Message ID <5dc122fc8875b60ab5f7ee8e910ee668206505b7.1340777116.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/30689/
State Accepted
Commit 987bc3ff3e1a619132434c5d939c7035d3d19fcb
Headers show

Comments

Khem Raj - June 27, 2012, 6:09 a.m.
uclibc has some functions in librt that are needed
by bison build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/bison/bison_2.5.bb |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-devtools/bison/bison_2.5.bb b/meta/recipes-devtools/bison/bison_2.5.bb
index c5113cd..fc3bb6d 100644
--- a/meta/recipes-devtools/bison/bison_2.5.bb
+++ b/meta/recipes-devtools/bison/bison_2.5.bb
@@ -21,6 +21,7 @@  SRC_URI = "${BASE_SRC_URI} \
 SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4"
 SRC_URI[sha256sum] = "722def46e4a19a5b7a579ef30db1965f86c37c1a20a5f0113743a2e4399f7c99"
 
+LDFLAGS_prepend_libc-uclibc = " -lrt "
 DEPENDS_virtclass-native = "gettext-minimal-native"
 SRC_URI_virtclass-native = "${BASE_SRC_URI}"