aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/ode
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/ode')
-rw-r--r--meta-oe/recipes-support/ode/ode_0.9.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/ode/ode_0.9.bb b/meta-oe/recipes-support/ode/ode_0.9.bb
index 1f3a5cab85..8b9955e397 100644
--- a/meta-oe/recipes-support/ode/ode_0.9.bb
+++ b/meta-oe/recipes-support/ode/ode_0.9.bb
@@ -22,3 +22,7 @@ do_configure_append() {
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
+PACKAGECONFIG ?= ""
+# if it isn't explicitly selected and "$build_os" == "$target_os", then configure will run
+# series of AC_TRY_RUN which won't work for cross-compilation and configure fails
+PACKAGECONFIG[double-precision] = "--enable-double-precision,--disable-double-precision"