summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2022-04-02 18:33:08 +0200
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2022-04-02 18:34:34 +0200
commitabbc04f6f3acfc2dfa34b1c07decaa658786e142 (patch)
treefbe20faed1d3deb44bc2c6f60b83b3795d488b3b /meson.build
parentb533b25208f4ea32bed1808bd824e70cfe4b6629 (diff)
downloadpolkit-abbc04f6f3acfc2dfa34b1c07decaa658786e142.tar.gz
fix build without C++
Fix the following build failure without C++ raised since https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Indeed, C++ is only required with mozjs engine Fixes: - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index c6765fd..da60930 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project(
- 'polkit', ['c', 'cpp'],
+ 'polkit', ['c'],
version: '0.120',
license: 'LGPL2+',
default_options: [