mirror of
https://github.com/corda/corda.git
synced 2025-06-18 23:28:21 +00:00
The proper extension for Mac JNI libraries is .jnilib. Hard-coded constants
have been factored to common locations. Furthermore, the LD_LIBRARY_PATH environment variable is DYLD_LIBRARY_PATH on Mac OS X.
This commit is contained in:
@ -25,6 +25,12 @@
|
||||
#error "Unsupported architecture"
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define SO_SUFFIX ".jnilib"
|
||||
#else
|
||||
#define SO_SUFFIX ".so"
|
||||
#endif
|
||||
|
||||
#define NO_RETURN __attribute__((noreturn))
|
||||
|
||||
#define LIKELY(v) __builtin_expect((v) != 0, true)
|
||||
|
Reference in New Issue
Block a user