Patchwork [meta-oe,dylan,32/60] rrdtool: add PACKAGECONFIG for dbi

login
register
mail settings
Submitter Martin Jansa
Date Aug. 15, 2013, 7:19 a.m.
Message ID <b9d346d92f428cb7eba52bb513c1fa6bbbe76b53.1376551135.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/55823/
State New, archived
Headers show

Comments

Martin Jansa - Aug. 15, 2013, 7:19 a.m.
* dbi was autodetected from sysroot causing undeterministic builds and failures
  in lmsensors builds:
  ld: warning: libdbi.so.1, needed by sysroots/qemux86/usr/lib/librrd.so,
  not found (try using -rpath or -rpath-link)
  sysroots/qemux86/usr/lib/librrd.so: undefined reference to `dbi_result_get_string_idx'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
index b92fe2f..dc43163 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
@@ -19,6 +19,9 @@  inherit autotools gettext
 
 EXTRA_AUTORECONF = "-I m4"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[dbi] = "--enable-libdbi,--disable-libdbi,libdbi"
+
 EXTRA_OECONF = " \
     --enable-shared \
     --enable-local-libpng \