PolicyKit: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Dec 19 15:59:50 UTC 2022


 meson.build |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

New commits:
commit bef75fb8291b3871894d8ffe19f7242448cdb4a8
Author: Sam James <sam at gentoo.org>
Date:   Wed Dec 7 13:18:09 2022 +0000

    meson.build: fix install with libs_only
    
    Bug: https://bugs.gentoo.org/884701
    Signed-off-by: Sam James <sam at gentoo.org>

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'


More information about the hal-commit mailing list