summaryrefslogtreecommitdiff
path: root/src/libsystemd/libsystemd-journal-internal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/libsystemd-journal-internal/Makefile')
-rw-r--r--src/libsystemd/libsystemd-journal-internal/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsystemd/libsystemd-journal-internal/Makefile b/src/libsystemd/libsystemd-journal-internal/Makefile
index ae5ab76ea9..8edcf2873d 100644
--- a/src/libsystemd/libsystemd-journal-internal/Makefile
+++ b/src/libsystemd/libsystemd-journal-internal/Makefile
@@ -83,8 +83,11 @@ libsystemd_journal_internal_la_LIBADD += \
endif
ifneq ($(HAVE_LZ4),)
+libsystemd_journal_internal_la_CFLAGS += \
+ $(LZ4_CFLAGS)
+
libsystemd_journal_internal_la_LIBADD += \
- -llz4
+ $(LZ4_LIBS)
endif
ifneq ($(HAVE_GCRYPT),)