mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
additional tweaks to make embedded resources work on darwin
This commit is contained in:
parent
618684de6e
commit
6bca3a8665
2
makefile
2
makefile
@ -298,7 +298,7 @@ $(binaryToMacho): $(src)/binaryToMacho.cpp
|
||||
$(classpath-object): $(build)/classpath.jar $(binaryToMacho)
|
||||
ifeq ($(platform),darwin)
|
||||
$(binaryToMacho) $(build)/classpath.jar \
|
||||
__binary_classpath_jar_data __binary_classpath_jar_size > $(@)
|
||||
__binary_classpath_jar_start __binary_classpath_jar_size > $(@)
|
||||
else
|
||||
(wd=$$(pwd); \
|
||||
cd $(build); \
|
||||
|
@ -19,10 +19,9 @@ void operator delete(void*) { abort(); }
|
||||
# define SYMBOL(x) _binary_classpath_jar_##x
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
#define BOOT_CLASSPATH "[classpathJar]"
|
||||
|
||||
#ifndef __APPLE__
|
||||
# define BOOT_CLASSPATH "[classpathJar]"
|
||||
extern "C" {
|
||||
|
||||
extern const uint8_t SYMBOL(start)[];
|
||||
extern const uint8_t SYMBOL(size)[];
|
||||
@ -33,7 +32,6 @@ extern "C" {
|
||||
*size = reinterpret_cast<uintptr_t>(SYMBOL(size));
|
||||
return SYMBOL(start);
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user