summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Duncan <leeman.duncan@gmail.com>2021-01-25 10:36:31 -0800
committerGitHub <noreply@github.com>2021-01-25 10:36:31 -0800
commit43345fb99b93158aedbbf7fda89d03da06c896f0 (patch)
tree8fb2f7f10cc8bf6af292dd7bd44e78282229ed11
parent46c346f4e15826ba45288143cd4eb6e71bbb77a2 (diff)
parent67dc71d344730cd120cdfc294ab56ba392511dd3 (diff)
downloadopen-iscsi-43345fb99b93158aedbbf7fda89d03da06c896f0.tar.gz
Merge pull request #246 from B4dM4n/no-systemd-build
iscsid: Add NO_SYSTEMD to CFLAGS
-rw-r--r--usr/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/Makefile b/usr/Makefile
index 21bb154..fe7430a 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -43,6 +43,8 @@ ISCSI_LIB = -L$(TOPDIR)/libopeniscsiusr -lopeniscsiusr
LDFLAGS += $(shell $(PKG_CONFIG) --libs libkmod)
ifeq ($(NO_SYSTEMD),)
LDFLAGS += $(shell $(PKG_CONFIG) --libs libsystemd)
+else
+CFLAGS += -DNO_SYSTEMD
endif
PROGRAMS = iscsid iscsiadm iscsistart