[flac-dev] How to change the dynamic library project name ogg to libogg?
Martijn van Beurden
mvanb1 at gmail.com
Wed Jun 7 12:11:50 UTC 2023
Op wo 7 jun 2023 om 14:03 schreef Ozkan Sezer <sezeroz at gmail.com>:
>
> Does this help at all? https://github.com/xiph/ogg/pull/72
> (Vorbis equivalent: https://github.com/xiph/vorbis/pull/76)
Thanks! That indeed solves the issue.
So, two changes are needed. First, change CMakeLists.txt in the flac
root directory. Find the following line
set_target_properties(ogg PROPERTIES FOLDER Libraries)
and add this line after it
set_target_properties(ogg PROPERTIES OUTPUT_NAME libogg)
Then find the file ogg.def in ogg/win32 and remove the following line
LIBRARY ogg
With this building should work fine, producing and correctly linking
to libogg.dll
More information about the flac-dev
mailing list