Skip to content

Commit 699c57c

Browse files
committed
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.
1 parent 81f727c commit 699c57c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jamfile-engine

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rule AddResources
2626

2727
actions AddResources
2828
{
29-
$(XRES) -o "$(<)" $(>)
29+
$(XRES) -o "$(<)" "$(>)"
3030
}
3131

3232
# Rc <Resource File> : <Resource definition file> ;
@@ -349,7 +349,7 @@ if ( $(OSPLAT) = X86 )
349349
switch $(TYPE)
350350
{
351351
case APP : LINKFLAGS += -Xlinker -soname=_APP_ ;
352-
case SHARED : LINKFLAGS += -shared -Xlinker -soname=$(NAME) ;
352+
case SHARED : LINKFLAGS += -shared -Xlinker -soname=\"$(NAME)\" ;
353353
case DRIVER : LINKFLAGS += -nostdlib /boot/develop/lib/x86/_KERNEL_ ;
354354
}
355355
}

0 commit comments

Comments
 (0)