This commit is contained in:
Aylur
2024-09-14 17:54:29 +00:00
parent c57a3046d1
commit 71ee1ea4bf
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ in
installPhase = ''
runHook preInstall
${genLib "astal" "" "Astal core library" {
${genLib "astal" "" {
out = "libastal";
description = "Astal core library";
version = ../core/version;
+4 -2
View File
@@ -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',
)