diff options
author | Aylur <[email protected]> | 2024-09-14 17:54:29 +0000 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-14 17:54:29 +0000 |
commit | 71ee1ea4bf4edd790edb7067f8fb0ae6c450ce5e (patch) | |
tree | 881afaf814934cae31dc58d600e07ad9c1d8ce69 | |
parent | c57a3046d1778c2ea503deaedfd460c398c58881 (diff) |
fix
-rw-r--r-- | docs/default.nix | 2 | ||||
-rw-r--r-- | lib/battery/meson.build | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/default.nix b/docs/default.nix index a82117a..3a75834 100644 --- a/docs/default.nix +++ b/docs/default.nix @@ -106,7 +106,7 @@ in installPhase = '' runHook preInstall - ${genLib "astal" "" "Astal core library" { + ${genLib "astal" "" { out = "libastal"; description = "Astal core library"; version = ../core/version; 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', ) |