summaryrefslogtreecommitdiff
path: root/oonf-olsrd2
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2023-01-02 01:45:37 +0100
committerNick Hainke <vincent@systemli.org>2023-02-22 08:05:34 +0100
commit521a4068deb99f0bae06487116b13e2bb6cedcaa (patch)
treea4c9d0d756df38ee666d5d336b7e0e5a9a88ad9f /oonf-olsrd2
parent8a82f32d3ffb16219f04ce55eca5040ae927240c (diff)
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>
Diffstat (limited to 'oonf-olsrd2')
-rw-r--r--oonf-olsrd2/Makefile4
1 files 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,) \