Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2018-09-29 21:35:44 +0300
committerMarvin Scholz <epirat07@gmail.com>2018-09-29 21:35:44 +0300
commit755fcdf884aae9ee85ef611d24398a39da53f407 (patch)
tree3fd9ca6754cfd2027d2815ca5a99b5cb32e15074
parent1ac76dd7ccbdee0563ee377fb3000c386bb004b0 (diff)
Build: Do not use soversion for windows dll
-rw-r--r--src/dav1d.rc.in2
-rw-r--r--src/meson.build7
2 files changed, 8 insertions, 1 deletions
diff --git a/src/dav1d.rc.in b/src/dav1d.rc.in
index 7fe5291..cdefd5a 100644
--- a/src/dav1d.rc.in
+++ b/src/dav1d.rc.in
@@ -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
diff --git a/src/meson.build b/src/meson.build
index 00bc307..c7ce41c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -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,
)