1
mirror of https://code.videolan.org/videolan/dav1d synced 2024-11-14 22:58:33 +01:00

Build: Do not use soversion for windows dll

This commit is contained in:
Marvin Scholz 2018-09-29 20:35:44 +02:00
parent 1ac76dd7cc
commit 755fcdf884
2 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,7 @@ BEGIN
VALUE "FileVersion", VERSION_NUMBER_STR
VALUE "FileDescription", "dav1d AV1 decoder"
VALUE "InternalName", "dav1d"
VALUE "OriginalFilename", "libdav1d-@VERSION_MAJOR@.dll"
VALUE "OriginalFilename", "libdav1d.dll"
VALUE "LegalCopyright", "Copyright \251 @COPYRIGHT_YEARS@ VideoLAN and dav1d Authors"
END
END

View File

@ -192,10 +192,17 @@ libdav1d_private = static_library('dav1d_private',
)
# 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,
)