From: z411 Date: Mon, 13 Dec 2021 18:00:20 +0000 (+0000) Subject: Update Shared libraries (buildfiles) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7a88721ae4b20932db92c1bfc40919b95317facf;p=xonotic%2Fxonotic.wiki.git Update Shared libraries (buildfiles) --- diff --git a/Shared-libraries-(buildfiles).md b/Shared-libraries-(buildfiles).md index 947c1cf..5d94e75 100644 --- a/Shared-libraries-(buildfiles).md +++ b/Shared-libraries-(buildfiles).md @@ -86,17 +86,17 @@ Required for the Xolonium font Darkplaces loads: `libfreetype-6.dll` or `freetype6.dll` ``` -VER="2.11.1" -curl -L -o freetype-$VER.tar.xz https://download.savannah.gnu.org/releases/freetype/freetype-$VER.tar.xz || true -tar -xf freetype-$VER.tar.xz -rm freetype-$VER.tar.xz +FTVER="2.11.1" +curl -L -o freetype-$FTVER.tar.xz https://download.savannah.gnu.org/releases/freetype/freetype-$FTVER.tar.xz || true +tar -xf freetype-$FTVER.tar.xz +rm freetype-$FTVER.tar.xz curl -o x86_64-w64-mingw32.cmake https://raw.githubusercontent.com/zyga/cmake-toolchains/master/Toolchain-Ubuntu-mingw64.cmake d0=$(pwd) rm -rf build mkdir build cd build -cmake -DCMAKE_TOOLCHAIN_FILE="$d0/x86_64-w64-mingw32.cmake" -DBUILD_SHARED_LIBS=true -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_INSTALL_PREFIX="$d0/out" -G"Unix Makefiles" "$d0/freetype-$VER" +cmake -DCMAKE_TOOLCHAIN_FILE="$d0/x86_64-w64-mingw32.cmake" -DBUILD_SHARED_LIBS=true -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_INSTALL_PREFIX="$d0/out" -G"Unix Makefiles" "$d0/freetype-$FTVER" make make install cd "$d0"