From 7a88721ae4b20932db92c1bfc40919b95317facf Mon Sep 17 00:00:00 2001 From: z411 Date: Mon, 13 Dec 2021 18:00:20 +0000 Subject: [PATCH] Update Shared libraries (buildfiles) --- Shared-libraries-(buildfiles).md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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" -- 2.39.2