From 81e48a9e2307cd2953ac1d742c8736eefcc581e1 Mon Sep 17 00:00:00 2001 From: afwerar <1296468573@qq.com> Date: Sat, 14 May 2022 12:25:29 +0800 Subject: [PATCH] fix(os): 3.0 TDengine package error --- packaging/release.sh | 8 ++++---- source/libs/tdb/CMakeLists.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packaging/release.sh b/packaging/release.sh index a56d991bf8..1077eb569a 100755 --- a/packaging/release.sh +++ b/packaging/release.sh @@ -63,12 +63,12 @@ cp ${install_files} ${install_dir} header_files="${top_dir}/include/client/taos.h ${top_dir}/include/util/taoserror.h" cp ${header_files} ${install_dir}/inc -bin_files="${compile_dir}/source/dnode/mgmt/taosd ${compile_dir}/tools/shell/taos ${compile_dir}/tests/test/c/create_table ${compile_dir}/tests/test/c/tmq_sim ${script_dir}/remove.sh ${compile_dir}/build/bin/taosBenchmark ${compile_dir}/build/bin/taosdump" +bin_files="${compile_dir}/build/bin/taosd ${compile_dir}/build/bin/taos ${compile_dir}/build/bin/create_table ${compile_dir}/build/bin/tmq_sim ${script_dir}/remove.sh ${compile_dir}/build/bin/taosBenchmark ${compile_dir}/build/bin/taosdump" cp -rf ${bin_files} ${install_dir}/bin && chmod a+x ${install_dir}/bin/* || : -cp -rf ${compile_dir}/source/client/libtaos.so ${install_dir}/lib/ -cp -rf ${compile_dir}/source/libs/tdb/libtdb.so ${install_dir}/lib/ -cp -rf ${compile_dir}/build/lib/libavro* ${install_dir}/lib/ > /dev/null || echo -e "failed to copy avro libraries" +cp ${compile_dir}/build/lib/libtaos.so ${install_dir}/lib/ +cp ${compile_dir}/build/lib/libtdb.so ${install_dir}/lib/ +cp ${compile_dir}/build/lib/libavro* ${install_dir}/lib/ > /dev/null || echo -e "failed to copy avro libraries" cp -rf ${compile_dir}/build/lib/pkgconfig ${install_dir}/lib/ > /dev/null || echo -e "failed to copy pkgconfig directory" diff --git a/source/libs/tdb/CMakeLists.txt b/source/libs/tdb/CMakeLists.txt index 01490030f2..722f6bddef 100644 --- a/source/libs/tdb/CMakeLists.txt +++ b/source/libs/tdb/CMakeLists.txt @@ -1,5 +1,5 @@ # tdb -add_library(tdb STATIC "") +add_library(tdb SHARED "") target_sources(tdb PRIVATE "src/db/tdbPCache.c" -- GitLab