aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-25 15:27:01 +0200
committerSimon Warta <[email protected]>2015-06-25 15:27:01 +0200
commit6deda9e82a1141d83476d7c4a6453d249c1e23d1 (patch)
treec2ed6c380bc53e10d548d0bd03e8df18f45227a6 /src
parent870e846c3fe4c723c313e72cdcfbe81a32bd01a9 (diff)
Fix --build-mode in CI build script
--build-mode is one of: release, debug, coverage A shared lib is build when --disable-shared is not set, i.e. CFG_FLAGS is empty.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/ci/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/ci/build.sh b/src/scripts/ci/build.sh
index 2aa3e5458..5d88260d4 100755
--- a/src/scripts/ci/build.sh
+++ b/src/scripts/ci/build.sh
@@ -3,9 +3,9 @@
set -ev
if [ "$BUILD_MODE" = "static" ]; then
- CFG_FLAGS="--disable-shared --via-amalgamation"
+ CFG_FLAGS="--disable-shared --via-amalgamation"
elif [ "$BUILD_MODE" = "shared" ]; then
- CFG_FLAGS="--build-mode=shared"
+ CFG_FLAGS=""
elif [ "$BUILD_MODE" = "coverage" ]; then
# lcov gets confused by symlinks
CFG_FLAGS="--build-mode=coverage --link-method=copy"