aboutsummaryrefslogtreecommitdiff
path: root/package/omniorb
diff options
context:
space:
mode:
authorGravatar Samuel Martin <s.martin49@gmail.com>2014-04-14 23:05:50 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-14 23:14:11 +0200
commitbd67fdee7925ed9773d60cfa22932a1f6f9542ba (patch)
tree21fea08da7cde950b672460d4c68ef1f5e9aec0c /package/omniorb
parentcd32da8f7931af61737df293d1f8bcedaab8648e (diff)
downloadbuildroot-bd67fdee7925ed9773d60cfa22932a1f6f9542ba.tar.gz
buildroot-bd67fdee7925ed9773d60cfa22932a1f6f9542ba.tar.bz2
omniorb: force python interperter
Omniorb build-system requires python2 interpreter. By default, it looks for python program, which may fallback on the system python interpreter in case python is disabled and python3 is enabled. So, this patch enforces the python interpreter to python2 built by Buildroot. Fixes: http://autobuild.buildroot.org/results/b4f/b4f3a2602ba0224ac3253c4bf6ed87ec045df772/ Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/omniorb')
-rw-r--r--package/omniorb/omniorb.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk
index fa2492f2b9..5b58da5001 100644
--- a/package/omniorb/omniorb.mk
+++ b/package/omniorb/omniorb.mk
@@ -14,6 +14,10 @@ OMNIORB_DEPENDENCIES = host-omniorb
HOST_OMNIORB_DEPENDENCIES = host-python
OMNIORB_INSTALL_TARGET = YES
+# omniorb is not python3 friendly, so force the python interpreter
+OMNIORB_CONF_OPT = ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
+HOST_OMNIORB_CONF_OPT = ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
+
# Defaulting long double support to a safe option for the
# mix of embedded targets, this could later be automated
# based on checking the capability of the cross toolchain