summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2019-08-07 12:10:13 -0700
committerRalph Giles <giles@thaumas.net>2019-08-07 15:58:29 -0700
commit42597febc81afd9cff783e1a06b0f3f4f98eebe2 (patch)
tree23331143c7585c54716e1af42ec918ef2bb34f95 /win32
parentae7aba9fff2ea59d79e2332b6b973f63d459f54d (diff)
downloadogg-git-42597febc81afd9cff783e1a06b0f3f4f98eebe2.tar.gz
Add a dll name to ogg.def.
According to VS2017 docs, the initial LIBRARY line must include a dll name. MSVC handles the missing name, but MinGW does not. Removing the line entirely is also accepted by both toolchains, but is contrary to documentation. Based on a patch by evpobr in https://github.com/xiph/ogg/pull/42 No ABI change according to comments there.
Diffstat (limited to 'win32')
-rw-r--r--win32/ogg.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ogg.def b/win32/ogg.def
index f88a434..030b644 100644
--- a/win32/ogg.def
+++ b/win32/ogg.def
@@ -2,7 +2,7 @@
; ogg.def
; List of exported functions for Windows builds.
;
-LIBRARY
+LIBRARY ogg
EXPORTS
;
oggpack_writeinit