]> www.infradead.org Git - users/sagi/libnvme.git/commit
build: Allow static linking
authorDaniel Wagner <dwagner@suse.de>
Wed, 16 Nov 2022 13:17:15 +0000 (14:17 +0100)
committerDaniel Wagner <dwagner@suse.de>
Wed, 16 Nov 2022 13:34:33 +0000 (14:34 +0100)
commit0a921130d088f4ed9adb4ca256f3396122ad5c53
treebb51842c42a5dc93ab813cfb08d74a9ba86fdaed
parent9fe6f05e4a68b2b259ed463f618896573077c2df
build: Allow static linking

To allow static linking, we have to make the libnss dependency
optional. This means the hostname IP resolution feature is not
available in this configuration.

Also the libystemd dependency check doesn't take into account that we
want to link statically. Lukily we just need this for an example.

Currently, the OpenSSL library build will fail in the example
(dependency on libnss) but the library is available to link.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
.github/cross/ubuntu-static.txt [new file with mode: 0644]
.github/workflows/meson.yml
meson.build
src/nvme/util.c