Skip to content

Commit 4ed8126

Browse files
committed
test: fix static build
1 parent a957787 commit 4ed8126

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

chdb/build/build_static_lib.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
88

99
. ${MY_DIR}/../vars.sh
1010

11-
BUILD_DIR=${PROJ_DIR}/build-static-lib
11+
if [ "$(uname)" == "Darwin" ] && [ "$(uname -m)" == "x86_64" ]; then
12+
BUILD_DIR=${PROJ_DIR}/buildlib
13+
else
14+
BUILD_DIR=${PROJ_DIR}/build-static-lib
15+
fi
1216

1317
HDFS="-DENABLE_HDFS=1 -DENABLE_GSASL_LIBRARY=1 -DENABLE_KRB5=1"
1418
MYSQL="-DENABLE_MYSQL=1"

0 commit comments

Comments
 (0)