]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
Fixed where libsystem is needed, not just systemd
authorMuhammad Ahmad <xahmad@users.noreply.github.com>
Sat, 29 Feb 2020 15:16:44 +0000 (09:16 -0600)
committerKeith Busch <kbusch@kernel.org>
Tue, 3 Mar 2020 15:24:05 +0000 (08:24 -0700)
Makefile

index e63a9cb468af7535dc5d53e0b08e7d4a7faa3a86..5c5c8b21471e403bf80a73a900455ebcfed5b9cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ override CFLAGS += -std=gnu99 -I.
 override CPPFLAGS += -D_GNU_SOURCE -D__CHECK_ENDIAN__
 LIBUUID = $(shell $(LD) -o /dev/null -luuid >/dev/null 2>&1; echo $$?)
 LIBHUGETLBFS = $(shell $(LD) -o /dev/null -lhugetlbfs >/dev/null 2>&1; echo $$?)
-HAVE_SYSTEMD = $(shell pkg-config --exists systemd  --atleast-version=232; echo $$?)
+HAVE_SYSTEMD = $(shell pkg-config --exists libsystemd  --atleast-version=232; echo $$?)
 NVME = nvme
 INSTALL ?= install
 DESTDIR =