From 699c57cbc7097143096018c2d57081d6f1b2181d Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 14 Nov 2021 16:10:53 +0100 Subject: [PATCH] Fix build errors if add-on name has spaces Missing quoting resulting in link error as part of the name is used as a separate argument. Similar problem with xres invokation. --- Jamfile-engine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jamfile-engine b/Jamfile-engine index a3a5362..0ec8137 100644 --- a/Jamfile-engine +++ b/Jamfile-engine @@ -26,7 +26,7 @@ rule AddResources actions AddResources { - $(XRES) -o "$(<)" $(>) + $(XRES) -o "$(<)" "$(>)" } # Rc : ; @@ -349,7 +349,7 @@ if ( $(OSPLAT) = X86 ) switch $(TYPE) { case APP : LINKFLAGS += -Xlinker -soname=_APP_ ; - case SHARED : LINKFLAGS += -shared -Xlinker -soname=$(NAME) ; + case SHARED : LINKFLAGS += -shared -Xlinker -soname=\"$(NAME)\" ; case DRIVER : LINKFLAGS += -nostdlib /boot/develop/lib/x86/_KERNEL_ ; } }