mirror of
https://review.haiku-os.org/jamfile-engine
synced 2024-11-23 07:08:23 +01:00
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:
parent
81f727c2de
commit
699c57cbc7
@ -26,7 +26,7 @@ rule AddResources
|
||||
|
||||
actions AddResources
|
||||
{
|
||||
$(XRES) -o "$(<)" $(>)
|
||||
$(XRES) -o "$(<)" "$(>)"
|
||||
}
|
||||
|
||||
# Rc <Resource File> : <Resource definition file> ;
|
||||
@ -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_ ;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user