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.
This commit is contained in:
Adrien Destugues 2021-11-14 16:10:53 +01:00
parent 81f727c2de
commit 699c57cbc7

View File

@ -26,7 +26,7 @@ rule AddResources
actions AddResources actions AddResources
{ {
$(XRES) -o "$(<)" $(>) $(XRES) -o "$(<)" "$(>)"
} }
# Rc <Resource File> : <Resource definition file> ; # Rc <Resource File> : <Resource definition file> ;
@ -349,7 +349,7 @@ if ( $(OSPLAT) = X86 )
switch $(TYPE) switch $(TYPE)
{ {
case APP : LINKFLAGS += -Xlinker -soname=_APP_ ; 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_ ; case DRIVER : LINKFLAGS += -nostdlib /boot/develop/lib/x86/_KERNEL_ ;
} }
} }