package/systemd: fix build with fallback hostname
authorStefan Becker <chemobejk@gmail.com>
Mon, 29 Jan 2018 09:45:06 +0000 (11:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 29 Jan 2018 13:36:08 +0000 (14:36 +0100)
Commit aebabb2780da4c5f85fec00b56f4690feb646073 used an automoake
configuration option. Replace it with the meson version.

Fixes #10716

Signed-off-by: Stefan Becker <chemobejk@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/systemd/systemd.mk

index b56c6c6b26c44f0bac02ce29076ef5c573cb59c3..f58e037943831b100e4b5c099cc7cd8d9987494c 100644 (file)
@@ -319,7 +319,7 @@ endif
 
 SYSTEMD_FALLBACK_HOSTNAME = $(call qstrip,$(BR2_TARGET_GENERIC_HOSTNAME))
 ifneq ($(SYSTEMD_FALLBACK_HOSTNAME),)
-SYSTEMD_CONF_OPTS += --with-fallback-hostname=$(SYSTEMD_FALLBACK_HOSTNAME)
+SYSTEMD_CONF_OPTS += -Dfallback-hostname=$(SYSTEMD_FALLBACK_HOSTNAME)
 endif
 
 define SYSTEMD_INSTALL_INIT_HOOK