From 521a4068deb99f0bae06487116b13e2bb6cedcaa Mon Sep 17 00:00:00 2001 From: =?utf8?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=utf8 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 08e0901..15e5731 100644 --- a/oonf-olsrd2/Makefile +++ b/oonf-olsrd2/Makefile @@ -14,8 +14,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,) \ -- 2.30.2