From: z411 Date: Tue, 14 Dec 2021 20:23:30 +0000 (+0000) Subject: Update Shared libraries (buildfiles) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7a2c2f1fc25b3d1b7bd49ff1924f1259ddaf91e7;p=xonotic%2Fxonotic.wiki.git Update Shared libraries (buildfiles) --- diff --git a/Shared-libraries-(buildfiles).md b/Shared-libraries-(buildfiles).md index 75efcd7..a01a58d 100644 --- a/Shared-libraries-(buildfiles).md +++ b/Shared-libraries-(buildfiles).md @@ -197,9 +197,9 @@ VORBISVER="v1.3.7" git clone -b $VORBISVER https://gitlab.xiph.org/xiph/vorbis.git # Fix win32 def files -sed -i 's/^LIBRARY$/LIBRARY libvorbis/' "$d0/vorbis/win32/vorbis.def" -sed -i 's/^LIBRARY$/LIBRARY libvorbisenc/' "$d0/vorbis/win32/vorbisenc.def" -sed -i 's/^LIBRARY$/LIBRARY libvorbisfile/' "$d0/vorbis/win32/vorbisfile.def" +sed -i 's/^LIBRARY$/LIBRARY vorbis/' "$d0/vorbis/win32/vorbis.def" +sed -i 's/^LIBRARY$/LIBRARY vorbisenc/' "$d0/vorbis/win32/vorbisenc.def" +sed -i 's/^LIBRARY$/LIBRARY vorbisfile/' "$d0/vorbis/win32/vorbisfile.def" curl -o x86_64-w64-mingw32.cmake https://raw.githubusercontent.com/zyga/cmake-toolchains/master/Toolchain-Ubuntu-mingw64.cmake rm -rf build @@ -209,9 +209,9 @@ cmake -DCMAKE_TOOLCHAIN_FILE="$d0/x86_64-w64-mingw32.cmake" -DBUILD_SHARED_LIBS= make make install cd "$d0" -cp out/bin/libvorbis.dll ~/Games/xonotic/misc/buildfiles/win64/libvorbis-0.dll -cp out/bin/libvorbisfile.dll ~/Games/xonotic/misc/buildfiles/win64/libvorbisfile-3.dll -cp out/bin/libvorbisenc.dll ~/Games/xonotic/misc/buildfiles/win64/libvorbisenc-2.dll +cp out/bin/libvorbis.dll ~/Games/xonotic/misc/buildfiles/win64/vorbis.dll +cp out/bin/libvorbisfile.dll ~/Games/xonotic/misc/buildfiles/win64/vorbisfile.dll +cp out/bin/libvorbisenc.dll ~/Games/xonotic/misc/buildfiles/win64/vorbisenc.dll ``` ### macOS