Skip to content

Commit

Permalink
dd
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Jul 24, 2023
1 parent d4c7788 commit 74ea0b6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ci/build-mingw64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fi

## libplacebo
if [ ! -e "$prefix_dir/lib/libplacebo.dll.a" ]; then
[ -d libplacebo ] || $gitclone https://code.videolan.org/videolan/libplacebo.git
[ -d libplacebo ] || $gitclone https://code.videolan.org/kasper93/libplacebo.git -b i686
builddir libplacebo
meson .. --cross-file "$prefix_dir/crossfile"
makeplusinstall
Expand Down Expand Up @@ -185,10 +185,11 @@ if [ ! -e "$prefix_dir/lib/libluajit-5.1.a" ]; then
pushd LuaJIT-${ver}
hostcc="ccache cc"
[[ "$TARGET" == "i686-"* ]] && hostcc="$hostcc -m32"
make TARGET_SYS=Windows clean
[[ "$TARGET" == "i686-"* ]] && flags=XCFLAGS=-DLUAJIT_NO_UNWIND
make TARGET_SYS=Windows $flags clean
make TARGET_SYS=Windows HOST_CC="$hostcc" CROSS="ccache $TARGET-" \
BUILDMODE=static amalg
make DESTDIR="$prefix_dir" INSTALL_DEP= FILE_T=luajit.exe install
BUILDMODE=static $flags amalg
make DESTDIR="$prefix_dir" INSTALL_DEP= FILE_T=luajit.exe $flags install
popd
fi

Expand Down

0 comments on commit 74ea0b6

Please sign in to comment.