package/systemd: add openssl support
authorJames Hilliard <james.hilliard1@gmail.com>
Sun, 8 Mar 2020 23:03:55 +0000 (17:03 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 12 Apr 2020 13:47:09 +0000 (15:47 +0200)
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/systemd/systemd.mk

index 7d0789f493a3d8ab2ea2c1d464bc2259a851567f..14490106aaeae14181026a49ac25d93608a93d19 100644 (file)
@@ -165,6 +165,13 @@ else
 SYSTEMD_CONF_OPTS += -Dp11kit=false
 endif
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+SYSTEMD_DEPENDENCIES += openssl
+SYSTEMD_CONF_OPTS += -Dopenssl=true
+else
+SYSTEMD_CONF_OPTS += -Dopenssl=false
+endif
+
 ifeq ($(BR2_PACKAGE_PCRE2),y)
 SYSTEMD_DEPENDENCIES += pcre2
 SYSTEMD_CONF_OPTS += -Dpcre2=true