Fix -Dbuild=library target

This commit is contained in:
Richard Hughes 2023-02-15 14:22:53 +00:00 committed by Mario Limonciello
parent 5db1809619
commit af862c615d
2 changed files with 27 additions and 18 deletions

View File

@ -16,7 +16,16 @@ if [ "$QUBES" = "true" ]; then
QUBES_MACRO=(--define "qubes_packages 1")
fi
# smoke test something small with no auto-deps
meson setup .. \
-Dbuild=library \
-Dauto_features=disabled \
-Dtests=false
ninja-build
rm -rf *
# do the full-fat build
meson setup \
-Ddocs=disabled \
-Dman=true \
-Dtests=true \

View File

@ -590,7 +590,6 @@ if build_standalone
]
subdir('plugins')
subdir('src')
endif
subdir('docs')
# append all the quirks into one big file and gzip it -- lzma is smaller, but needs libxmlb 0.3.3
@ -609,6 +608,7 @@ custom_target('builtin-quirk-gz',
install: true,
install_dir: join_paths(datadir, 'fwupd', 'quirks.d'),
)
endif
if build_daemon and libsystemd.found() and offline.allowed()
install_symlink('fwupd-offline-update.service',