mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Fix compile flags for libsystemd
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
dad86a2b01
commit
698026bcf4
1 changed files with 3 additions and 3 deletions
|
|
@ -793,9 +793,9 @@ ifneq ($(filter jw-build,$(PREREQ_BUILD)),)
|
|||
endif
|
||||
|
||||
ifeq ($(USE_SYSTEMD),true)
|
||||
BUILD_CFLAGS += -D_USE_SYSTEMD_
|
||||
BUILD_CPPFLAGS += -D_USE_SYSTEMD_
|
||||
BUILD_LDFLAGS += -lsystemd-daemon
|
||||
BUILD_CFLAGS += -D_USE_SYSTEMD_ $(shell pkg-config --cflags libsystemd)
|
||||
BUILD_CPPFLAGS += -D_USE_SYSTEMD_ $(shell pkg-config --cflags libsystemd)
|
||||
BUILD_LDFLAGS += $(shell pkg-config --ldflags libsystemd)
|
||||
endif
|
||||
|
||||
ifeq ($(USE_TIMER),true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue