summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-14 17:54:29 +0000
committerAylur <[email protected]>2024-09-14 17:54:29 +0000
commit71ee1ea4bf4edd790edb7067f8fb0ae6c450ce5e (patch)
tree881afaf814934cae31dc58d600e07ad9c1d8ce69 /lib
parentc57a3046d1778c2ea503deaedfd460c398c58881 (diff)
fix
Diffstat (limited to 'lib')
-rw-r--r--lib/battery/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/battery/meson.build b/lib/battery/meson.build
index bfb8255..f9751d0 100644
--- a/lib/battery/meson.build
+++ b/lib/battery/meson.build
@@ -32,12 +32,14 @@ config = configure_file(
},
)
-deps = [
+pkgconfig_deps = [
dependency('glib-2.0'),
dependency('gio-2.0'),
dependency('gobject-2.0'),
]
+deps = pkgconfig_deps + meson.get_compiler('c').find_library('m')
+
sources = [
config,
'ifaces.vala',
@@ -64,7 +66,7 @@ if get_option('lib')
filebase: meson.project_name() + '-' + api_version,
version: meson.project_version(),
subdirs: meson.project_name(),
- requires: deps,
+ requires: pkgconfig_deps,
install_dir: get_option('libdir') / 'pkgconfig',
)