diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-06 18:20:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-15 15:54:18 +0100 |
commit | e5d141fff4a96fbdac63586638fb286f263af216 (patch) | |
tree | db4cfe021cf75ed9fb71fb537ade119ea10ad585 /meta/recipes-devtools/rpm/rpm_5.4.9.bb | |
parent | c9c74b1316aa671e7106962c9dae5b6046cd9946 (diff) | |
download | openembedded-core-e5d141fff4a96fbdac63586638fb286f263af216.tar.gz openembedded-core-e5d141fff4a96fbdac63586638fb286f263af216.tar.bz2 openembedded-core-e5d141fff4a96fbdac63586638fb286f263af216.zip |
rpm: pass lrt and lpthread to link step explicitly for uclibc
These need to appear in DT_NEEDED for librpmio.so
for uclibc somehow it does not get added to link
cmdline so we do it explicitly.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4.9.bb')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.9.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index ccf015af3e..8e892a8389 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb @@ -182,6 +182,8 @@ EXTRA_OECONF += "--verbose \ CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY -DRPM_VENDOR_OE" +LDFLAGS_append_libc-uclibc = "-lrt -lpthread" + PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${PN}-staticdev ${PN}-common ${PN}-build python-rpm-dbg python-rpm-staticdev python-rpm perl-module-rpm perl-module-rpm-dev ${PN}-locale" SOLIBS = "5.4.so" |