diff options
-rw-r--r-- | meson.build | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/meson.build b/meson.build index f7aa03d..ba8f5b0 100644 --- a/meson.build +++ b/meson.build @@ -360,14 +360,17 @@ configure_file( configuration: config_h, ) -meson.add_install_script( - 'meson_post_install.py', - get_option('bindir'), - pk_pkgdatadir, - pk_libprivdir, - pk_pkgsysconfdir, - polkitd_user, -) + +if not libs_only + meson.add_install_script( + 'meson_post_install.py', + get_option('bindir'), + pk_pkgdatadir, + pk_libprivdir, + pk_pkgsysconfdir, + polkitd_user, + ) +endif output = '\n ' + meson.project_name() + ' ' + meson.project_version() + '\n' output += ' ============\n\n' |