aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-03 12:42:09 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 09:17:54 -0800
commit6439a9b4410fe6c884c1494ded51422a214b5775 (patch)
treebfe80c72d72fd201054cbd5e8292ba38fc2befc5 /scripts
parent70470ffa453482f359f9270ee7909bb161c0fb86 (diff)
downloadsubsurface-6439a9b4410fe6c884c1494ded51422a214b5775.tar.gz
build-system/mobile: force using our own ECM build
If the OS has an older one installed, that is found first and the build fails. This way we know that ours is used. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index fef234ac5..05921473b 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -533,6 +533,7 @@ for (( i=0 ; i < ${#BUILDS[@]} ; i++ )) ; do
# pull the plasma-mobile components from upstream if building Subsurface-mobile
if [ "$SUBSURFACE_EXECUTABLE" = "MobileExecutable" ] ; then
bash ./scripts/mobilecomponents.sh
+ EXTRA_OPTS="$EXTRA_OPTS -DECM_DIR=$SRC/$SRC_DIR/mobile-widgets/3rdparty/ECM"
fi
mkdir -p "$BUILDDIR"