projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fd53df
)
Export public function on MinGW platform
author
evpobr
<evpobr@gmail.com>
Wed, 8 Apr 2020 05:24:39 +0000
(10:24 +0500)
committer
Ralph Giles
<giles@thaumas.net>
Wed, 8 Apr 2020 23:28:40 +0000
(16:28 -0700)
MinGW produces DLLs, but exports nothing.
lib/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lib/CMakeLists.txt
b/lib/CMakeLists.txt
index
d198105
..
7e8ca45
100644
(file)
--- a/
lib/CMakeLists.txt
+++ b/
lib/CMakeLists.txt
@@
-61,7
+61,7
@@
if(WIN32)
list(APPEND VORBIS_SOURCES vorbisenc.c)
endif()
-if(
MSVC
)
+if(
WIN32
)
list(APPEND VORBIS_SOURCES ../win32/vorbis.def)
list(APPEND VORBISENC_SOURCES ../win32/vorbisenc.def)
list(APPEND VORBISFILE_SOURCES ../win32/vorbisfile.def)