Re: How to change the dynamic library project name ogg to libogg?
Martijn van Beurden <[email protected]> Wed, 7 Jun 2023 14:11:50 +0200
| Newsgroups | gmane.comp.audio.compression.flac.devel |
|---|---|
| Message-ID | <CADQbU6_LEVH3UsJOr6MdXDQq+B-FmkYTG1MNOh+xXa0CjkoY9w@mail.gmail.com> |
Op wo 7 jun 2023 om 14:03 schreef Ozkan Sezer <[email protected]>: > > 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