mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
support building from a directory with spaces in its name
This commit is contained in:
parent
a6f1b92b63
commit
471ac4d960
8
makefile
8
makefile
@ -93,8 +93,8 @@ ifeq ($(platform),darwin)
|
||||
endif
|
||||
|
||||
ifeq ($(platform),windows)
|
||||
inc = $(root)/win32/include
|
||||
lib = $(root)/win32/lib
|
||||
inc = "$(root)/win32/include"
|
||||
lib = "$(root)/win32/lib"
|
||||
|
||||
system = windows
|
||||
object-format = pe-i386
|
||||
@ -333,7 +333,7 @@ $(boot-object): $(boot-source)
|
||||
$(build)/classpath.jar: $(classpath-dep)
|
||||
(wd=$$(pwd); \
|
||||
cd $(classpath-build); \
|
||||
$(jar) c0f $${wd}/$(@) $$(find . -name '*.class'))
|
||||
$(jar) c0f "$${wd}/$(@)" $$(find . -name '*.class'))
|
||||
|
||||
$(binaryToMacho): $(src)/binaryToMacho.cpp
|
||||
$(cxx) $(^) -o $(@)
|
||||
@ -347,7 +347,7 @@ else
|
||||
(wd=$$(pwd); \
|
||||
cd $(build); \
|
||||
$(objcopy) -I binary classpath.jar \
|
||||
-O $(object-format) -B $(object-arch) $${wd}/$(@))
|
||||
-O $(object-format) -B $(object-arch) "$${wd}/$(@)")
|
||||
endif
|
||||
|
||||
$(generator-objects): $(native-build)/%.o: $(src)/%.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user