archive/plugins/meson.build: do not generate empty library
If no archive library was found, return from the "plugins" directory without creating "libarchive_plugins.a". Empty static libraries are unsupported on some operating systems such as macOS. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1650
This commit is contained in:
parent
1944c826bc
commit
32bddfabea
1
NEWS
1
NEWS
@ -1,4 +1,5 @@
|
|||||||
ver 0.23.11 (not yet released)
|
ver 0.23.11 (not yet released)
|
||||||
|
* macOS: fix build failure "no archive members specified"
|
||||||
* Android/Windows
|
* Android/Windows
|
||||||
- update OpenSSL to 3.0.7
|
- update OpenSSL to 3.0.7
|
||||||
|
|
||||||
|
@ -22,6 +22,10 @@ if libzzip_dep.found()
|
|||||||
found_archive_plugin = true
|
found_archive_plugin = true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if not found_archive_plugin
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
archive_plugins = static_library(
|
archive_plugins = static_library(
|
||||||
'archive_plugins',
|
'archive_plugins',
|
||||||
archive_plugins_sources,
|
archive_plugins_sources,
|
||||||
|
Loading…
Reference in New Issue
Block a user