summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Rosen <jeremy.rosen@smile.fr>2018-06-30 00:25:51 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-01 14:19:44 +0200
commitb8dd03de565296698ceaff2aca22867ef365613c (patch)
tree621cd7ecde7b38ba2522c9c06d323ca53455ea60
parent48a3afc12c858de22818412c3fb05ee2ba163e5a (diff)
downloadbuildroot-b8dd03de565296698ceaff2aca22867ef365613c.tar.gz
buildroot-b8dd03de565296698ceaff2aca22867ef365613c.zip
systemd: add optional dependency on pcre2
systemd can use libpcre2 when available, so this commit adds the detection of this library. Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/systemd/systemd.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 16c9d9f290..0d5e348594 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -144,6 +144,13 @@ else
SYSTEMD_CONF_OPTS += -Dgcrypt=false
endif
+ifeq ($(BR2_PACKAGE_PCRE2),y)
+SYSTEMD_DEPENDENCIES += pcre2
+SYSTEMD_CONF_OPTS += -Dpcre2=true
+else
+SYSTEMD_CONF_OPTS += -Dpcre2=false
+endif
+
ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY),y)
SYSTEMD_DEPENDENCIES += libmicrohttpd
SYSTEMD_CONF_OPTS += -Dmicrohttpd=true
OpenPOWER on IntegriCloud