Skip to content

Commit f213b93

Browse files
committed
fix mac
1 parent ded7a22 commit f213b93

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

recipe_rattler/recipe.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,13 @@ build:
5858
cd rest
5959
mkdir ../rest_deps
6060
mkdir ../rest_deps/lib
61-
echo ${LIB_EXT}
6261
if [[ "$target_platform" == osx-* ]]; then
63-
cp ${BUILD_PREFIX}/lib/*.dylib ../rest_deps/lib/
64-
cp ${BUILD_PREFIX}/lib/python${PY_VER}/site-packages/mokit/lib/librest2fch.dylib ../rest_deps/lib/
6562
LIB_EXT="dylib"
6663
else
67-
cp ${BUILD_PREFIX}/lib/*.so ../rest_deps/lib/
68-
cp ${BUILD_PREFIX}/lib/python${PY_VER}/site-packages/mokit/lib/librest2fch.so ../rest_deps/lib/
6964
LIB_EXT="so"
7065
fi
66+
cp ${BUILD_PREFIX}/lib/*.${LIB_EXT} ../rest_deps/lib/
67+
cp ${BUILD_PREFIX}/lib/python${PY_VER}/site-packages/mokit/lib/librest2fch.${LIB_EXT} ../rest_deps/lib/
7168
export LIBCLANG_PATH="$BUILD_PREFIX/lib"
7269
cargo install --path . --profile release --root ${PREFIX}
7370
mkdir -p ${PREFIX}/share/rest/

recipe_rest_reg/recipe.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ package:
1212

1313
source:
1414
- git: https://gitee.com/restgroup/rest_regression.git
15-
git_rev: 71be51b48bbf43c87e41609f12be93bb57eae6e2
15+
rev: 71be51b48bbf43c87e41609f12be93bb57eae6e2
1616
# tag: v2025.02
1717
target_directory: rest_regression
1818

0 commit comments

Comments
 (0)