ref: 755fcdf884aae9ee85ef611d24398a39da53f407
parent: 1ac76dd7ccbdee0563ee377fb3000c386bb004b0
author: Marvin Scholz <[email protected]>
date: Sat Sep 29 16:35:44 EDT 2018
Build: Do not use soversion for windows dll
--- a/src/dav1d.rc.in
+++ b/src/dav1d.rc.in
@@ -19,7 +19,7 @@
VALUE "FileVersion", VERSION_NUMBER_STR
VALUE "FileDescription", "dav1d AV1 decoder"
VALUE "InternalName", "dav1d"
- VALUE "OriginalFilename", "libdav1d-@[email protected]"
+ VALUE "OriginalFilename", "libdav1d.dll"
VALUE "LegalCopyright", "Copyright \251 @COPYRIGHT_YEARS@ VideoLAN and dav1d Authors"
END
END
--- a/src/meson.build
+++ b/src/meson.build
@@ -192,10 +192,17 @@
)
# The final dav1d library
+if host_machine.system() == 'windows'
+ dav1d_soversion = ''
+else
+ dav1d_soversion = dav1d_version_major
+endif
+
libdav1d = library('dav1d',
version : meson.project_version(),
link_whole : libdav1d_private,
dependencies : thread_dependency,
include_directories : dav1d_inc_dirs,
+ soversion : dav1d_soversion,
install : true,
)