Fix missing "shell".

pull/1600/head
Roger A. Light 7 years ago
parent 54b685ef66
commit 04f8ee7660

@ -10,8 +10,8 @@ Forwarded: yes
- BROKER_CFLAGS:=$(BROKER_CFLAGS) -DWITH_SYSTEMD
- BROKER_LIBS:=$(BROKER_LIBS) -lsystemd
+ ifneq ($(shell pkg-config --libs libsystemd),)
+ BROKER_CFLAGS:=$(BROKER_CFLAGS) -DWITH_SYSTEMD $(pkg-config --cflags libsystemd)
+ BROKER_LIBS:=$(BROKER_LIBS) $(pkg-config --libs libsystemd)
+ BROKER_CFLAGS:=$(BROKER_CFLAGS) -DWITH_SYSTEMD $(shell pkg-config --cflags libsystemd)
+ BROKER_LIBS:=$(BROKER_LIBS) $(shell pkg-config --libs libsystemd)
+ endif
endif

Loading…
Cancel
Save