From d578f7bedc3b2c1991aaa03333172ac6126cc03a Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 15 Sep 2025 07:53:23 +0200 Subject: [PATCH] Windows: fix syntax error in .def files With MSYS2 + mingw-w64, the build of the DLL fails with a syntax error in .def files. LIBRARY should be followed with the library name. --- win32/vorbis.def | 2 +- win32/vorbisenc.def | 2 +- win32/vorbisfile.def | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/vorbis.def b/win32/vorbis.def index 884f8f023..5e8237e07 100644 --- a/win32/vorbis.def +++ b/win32/vorbis.def @@ -1,6 +1,6 @@ ; vorbis.def ; -LIBRARY +LIBRARY vorbis EXPORTS _floor_P _mapping_P diff --git a/win32/vorbisenc.def b/win32/vorbisenc.def index 79af06440..34d7206c7 100644 --- a/win32/vorbisenc.def +++ b/win32/vorbisenc.def @@ -1,6 +1,6 @@ ; vorbisenc.def ; -LIBRARY +LIBRARY vorbisenc EXPORTS vorbis_encode_init diff --git a/win32/vorbisfile.def b/win32/vorbisfile.def index 4dc554962..3780ada18 100644 --- a/win32/vorbisfile.def +++ b/win32/vorbisfile.def @@ -1,6 +1,6 @@ ; vorbisfile.def ; -LIBRARY +LIBRARY vorbisfile EXPORTS ov_clear ov_open