From af2ebd8a8b282e3ddb15cdb8775a4cceb60ae637 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 10 Nov 2024 17:20:32 +0100 Subject: reformat executable statement, make installable (#137) * reformat executable statement, make installable * assign executable to variable this will let superprojects resolve it and use it for various build stuff --- meson.build | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index e7f9138..9625d01 100644 --- a/meson.build +++ b/meson.build @@ -58,4 +58,17 @@ if get_option('static') cflags += '-DLPM_STATIC' endif -executable('lpm', lpm_source, dependencies: [zlib_dep, lzma_dep, mbedtls_dep, libgit2_dep, libzip_dep, lua_dep, microtar_dep], c_args: cflags) +lpm_exe = executable('lpm', + lpm_source, + dependencies: [ + zlib_dep, + lzma_dep, + mbedtls_dep, + libgit2_dep, + libzip_dep, + lua_dep, + microtar_dep + ], + c_args: cflags, + install: true, +) -- cgit v1.2.3