Skip to content

Commit

Permalink
Fix build errors if add-on name has spaces
Browse files Browse the repository at this point in the history
Missing quoting resulting in link error as part of the name is used as a
separate argument.

Similar problem with xres invokation.
  • Loading branch information
pulkomandy committed Nov 14, 2021
1 parent 81f727c commit 699c57c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jamfile-engine
Expand Up @@ -26,7 +26,7 @@ rule AddResources

actions AddResources
{
$(XRES) -o "$(<)" $(>)
$(XRES) -o "$(<)" "$(>)"
}

# Rc <Resource File> : <Resource definition file> ;
Expand Down Expand Up @@ -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_ ;
}
}
Expand Down

0 comments on commit 699c57c

Please sign in to comment.