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
parent 7086d85595
commit d8c7affdce
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

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