oonf-olsrd2: fix building with multiple plugins - fixes #826

Code to replace colons wasn't working (debian stable)
Took it from stackoverflow, works now

Signed-off-by: Maciej Krüger <mkg20001@gmail.com>
This commit is contained in:
Maciej Krüger 2023-01-02 01:45:37 +01:00 committed by Nick Hainke
parent 8a82f32d3f
commit 521a4068de
1 changed files with 2 additions and 2 deletions

View File

@ -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,) \