[CI] Fix mingw-vcpkg build

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2022-04-07 01:37:41 +02:00
parent d75d09090d
commit b9daaee790
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ export MINGW_LIBS="-lpsapi"
if [ ! -f $VCPKG_DIR/lib/libz.a ]; then
ln -s $VCPKG_DIR/lib/libzlib.a $VCPKG_DIR/lib/libz.a
fi
# uc2_graphics & slideshow
if [ ! -f $VCPKG_DIR/lib/libfreeglut_static.a ]; then
ln -s $VCPKG_DIR/lib/libfreeglut.a $VCPKG_DIR/lib/libfreeglut_static.a
fi
export CXXFLAGS="-I$VCPKG_DIR/include -L$VCPKG_DIR/lib"
export CFLAGS="$CXXFLAGS"