From d8c7affdcef6c9da4cd3d2c61c0978c8c811c5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Mon, 2 Jan 2023 01:45:37 +0100 Subject: [PATCH] oonf-olsrd2: fix building with multiple plugins - fixes #826 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Code to replace colons wasn't working (debian stable) Took it from stackoverflow, works now Signed-off-by: Maciej Krüger --- oonf-olsrd2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oonf-olsrd2/Makefile b/oonf-olsrd2/Makefile index 40190ed..6067003 100644 --- a/oonf-olsrd2/Makefile +++ b/oonf-olsrd2/Makefile @@ -17,8 +17,8 @@ CMAKE_INSTALL:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk -SPACE:= -SPACE+= +# ref https://stackoverflow.com/a/10571900/3990041 +SPACE:= $(subst ,, ) CMAKE_OPTIONAL_PLUGINS:= $(subst $(SPACE),;,$(strip \ $(if $(filter y,$(CONFIG_OONF_NHDP_AUTOLL4)),auto_ll4,) \ $(if $(filter y,$(CONFIG_OONF_OLSRV2_LAN_IMPORT)),lan_import,) \