aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-14 18:06:22 -0700
committerArmin Kuster <akuster808@gmail.com>2022-04-18 07:37:42 -0700
commitfdd1dfe6b4b2412cc536c26450ce126c960d8107 (patch)
tree0e8098c79320b46b85d35f03bb87674f89d16fd1
parentdf8259cc49bbfef9c33e96bc90b853786e7f0712 (diff)
downloadmeta-openembedded-fdd1dfe6b4b2412cc536c26450ce126c960d8107.tar.gz
meta-openembedded-fdd1dfe6b4b2412cc536c26450ce126c960d8107.tar.bz2
meta-openembedded-fdd1dfe6b4b2412cc536c26450ce126c960d8107.zip
mongodb: Pass OBJCOPY to scons so it does not use it from host
Fixes objcopy: Unable to recognise the format of the input file `build/opt/mongo/mongos' Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Vincent Prince <vincent.prince.fr@gmail.com.com> (cherry picked from commit e91940073af4e19cd18a09cd12aa381ff60fe54b) [Fix up for Dunfell context: also fixes Please add a conforming MONGO_VERSION=x.y.z[-extra] as an argument to SCons] Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
index 7ef8f6982..cc15a8de3 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
@@ -56,6 +56,8 @@ EXTRA_OESCONS = "--prefix=${D}${prefix} \
LINKFLAGS='${LDFLAGS}' \
CXXFLAGS='${CXXFLAGS}' \
TARGET_ARCH=${TARGET_ARCH} \
+ MONGO_VERSION=${PV} \
+ OBJCOPY=${OBJCOPY} \
--ssl \
--disable-warnings-as-errors \
--use-system-zlib \