summaryrefslogtreecommitdiff
path: root/src/dummy
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2021-08-30 13:11:42 +0200
committerBastien Nocera <hadess@hadess.net>2021-09-02 17:47:30 +0200
commitf2e702d4dc22a04e6b660c63e77c93f269fb3818 (patch)
tree94bf38696e2342c163ecf629fb68808cee483011 /src/dummy
parent46ed29945125c241fe9a103e8b4f565472d453ef (diff)
downloadupower-f2e702d4dc22a04e6b660c63e77c93f269fb3818.tar.gz
build: Support building upower with meson
Diffstat (limited to 'src/dummy')
-rw-r--r--src/dummy/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dummy/meson.build b/src/dummy/meson.build
new file mode 100644
index 0000000..558ec4d
--- /dev/null
+++ b/src/dummy/meson.build
@@ -0,0 +1,9 @@
+upshared += { 'dummy': static_library('upshared',
+ sources: [
+ 'up-backend.c',
+ 'up-native.c',
+ ],
+ c_args: [ '-DG_LOG_DOMAIN="UPower-Dummy"' ],
+ dependencies: [ gudev_dep, upowerd_deps ],
+ build_by_default: false,
+)}