From b52f5247d161dd9b519599f5bc5d2616d1f536b2 Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Tue, 16 Apr 2024 16:13:05 +0800 Subject: [PATCH] =?UTF-8?q?om=E4=BE=9D=E8=B5=96=E5=BC=80=E6=BA=90=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=9C=A8lib3.*=E5=A4=96=E5=9C=A8=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E4=B8=80=E4=BB=BD=EF=BC=8C=E9=80=82=E9=85=8D=E6=9C=AA?= =?UTF-8?q?=E5=90=88=E5=85=A5=E3=80=90om=E9=80=82=E9=85=8D=E5=A4=9A?= =?UTF-8?q?=E7=89=88=E6=9C=ACpython=E3=80=91=E7=9A=84=E7=89=B9=E6=80=A7?= =?UTF-8?q?=E5=9C=BA=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dependency/bcrypt/build.sh | 4 +++- dependency/cryptography/build.sh | 4 +++- dependency/pynacl/build.sh | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dependency/bcrypt/build.sh b/dependency/bcrypt/build.sh index 46654fcfd..25a0bf05c 100644 --- a/dependency/bcrypt/build.sh +++ b/dependency/bcrypt/build.sh @@ -43,11 +43,13 @@ fi python3 setup.py install --user if [[ -d "$TARGET_PATH/bcrypt" ]]; then mkdir -p $TARGET_PATH/bcrypt/$lib_dir + cp build/lib*/bcrypt/_bcrypt.abi3.so $TARGET_PATH/bcrypt/ cp build/lib*/bcrypt/_bcrypt.abi3.so $TARGET_PATH/bcrypt/$lib_dir else cp -r build/lib*/* $TARGET_PATH mkdir -p $TARGET_PATH/bcrypt/$lib_dir - mv $TARGET_PATH/bcrypt/_bcrypt.abi3.so $TARGET_PATH/bcrypt/$lib_dir + cp $TARGET_PATH/bcrypt/_bcrypt.abi3.so $TARGET_PATH/bcrypt/ + cp $TARGET_PATH/bcrypt/_bcrypt.abi3.so $TARGET_PATH/bcrypt/$lib_dir fi cp $ROOT_DIR/_bcrypt.py $TARGET_PATH/bcrypt/ \ No newline at end of file diff --git a/dependency/cryptography/build.sh b/dependency/cryptography/build.sh index d0441ff71..fa939d764 100644 --- a/dependency/cryptography/build.sh +++ b/dependency/cryptography/build.sh @@ -36,11 +36,13 @@ python3 setup.py install --user if [[ -d "$TARGET_PATH/cryptography/hazmat/bindings" ]]; then mkdir -p $TARGET_PATH/cryptography/hazmat/bindings/$lib_dir + cp build/lib*/cryptography/hazmat/bindings/*.so $TARGET_PATH/cryptography/hazmat/bindings/ cp build/lib*/cryptography/hazmat/bindings/*.so $TARGET_PATH/cryptography/hazmat/bindings/$lib_dir else cp -r build/lib*/* $TARGET_PATH mkdir -p $TARGET_PATH/cryptography/hazmat/bindings/$lib_dir - mv $TARGET_PATH/cryptography/hazmat/bindings/*.so $TARGET_PATH/cryptography/hazmat/bindings/$lib_dir + cp $TARGET_PATH/cryptography/hazmat/bindings/*.so $TARGET_PATH/cryptography/hazmat/bindings/ + cp $TARGET_PATH/cryptography/hazmat/bindings/*.so $TARGET_PATH/cryptography/hazmat/bindings/$lib_dir fi cp $ROOT_DIR/_openssl.py $TARGET_PATH/cryptography/hazmat/bindings/ diff --git a/dependency/pynacl/build.sh b/dependency/pynacl/build.sh index 6560f3c00..b98160fbf 100644 --- a/dependency/pynacl/build.sh +++ b/dependency/pynacl/build.sh @@ -44,10 +44,12 @@ python3 setup.py install --user if [[ -d "$TARGET_PATH/nacl" ]]; then mkdir -p $TARGET_PATH/nacl/$lib_dir cp build/lib*/nacl/_sodium.abi3.so $TARGET_PATH/nacl/$lib_dir + cp build/lib*/nacl/_sodium.abi3.so $TARGET_PATH/nacl/ else cp -r build/lib*/* $TARGET_PATH mkdir -p $TARGET_PATH/nacl/$lib_dir - mv $TARGET_PATH/nacl/_sodium.abi3.so $TARGET_PATH/nacl/$lib_dir + cp $TARGET_PATH/nacl/_sodium.abi3.so $TARGET_PATH/nacl/$lib_dir + cp $TARGET_PATH/nacl/_sodium.abi3.so $TARGET_PATH/nacl/ fi # add boost script -- Gitee