Skip to content

Commit

Permalink
Fix build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tindy2013 committed Dec 11, 2023
1 parent a4a273d commit 18fea93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ RUN set -xe && \
source "$HOME/.xmake/profile" && \
xmake f --root --static=false -m release -y -v && \
xmake --root -v subconverter && \
cp "$(find build -type f -name subconverter)" . && \
python3 -m ensurepip && \
python3 -m pip install gitpython && \
python3 scripts/update_rules.py -c scripts/rules_config.conf
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.windows.release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ set -xe

xmake f --root --static=true -m release -y -v
xmake --root -v subconverter
cp "$(find build -name subconverter -type f)" base/subconverter
cp "$(find build -name subconverter.exe -type f)" base/subconverter.exe

python -m ensurepip
python -m pip install gitpython
Expand Down
2 changes: 1 addition & 1 deletion xmake/curl-static.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ package("curl-static")
add_deps("mbedtls")
add_syslinks("pthread")
elseif is_plat("windows", "mingw") then
add_deps("zlib")
add_syslinks("advapi32", "crypt32", "wldap32", "winmm", "ws2_32", "user32", "bcrypt")
end
add_deps("zlib")

on_install(function (package)
local configs = {}
Expand Down

0 comments on commit 18fea93

Please sign in to comment.