mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Now using the CoreServices instead of the Carbon framework....this
allows for cocoa and future compatability
This commit is contained in:
parent
8c3d65a835
commit
8335dc4297
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
# define SO_SUFFIX ".jnilib"
|
# define SO_SUFFIX ".jnilib"
|
||||||
#include <Carbon/Carbon.h>
|
#include <CoreServices/CoreServices.h>
|
||||||
#elif defined WIN32
|
#elif defined WIN32
|
||||||
# define SO_SUFFIX ".dll"
|
# define SO_SUFFIX ".dll"
|
||||||
#else
|
#else
|
||||||
|
2
makefile
2
makefile
@ -123,7 +123,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(platform),darwin)
|
ifeq ($(platform),darwin)
|
||||||
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src)
|
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src)
|
||||||
lflags = $(common-lflags) -ldl -framework CoreFoundation -framework Carbon
|
lflags = $(common-lflags) -ldl -framework CoreFoundation -framework CoreServices
|
||||||
ifeq ($(bootimage),true)
|
ifeq ($(bootimage),true)
|
||||||
bootimage-lflags = -Wl,-segprot,__BOOT,rwx,rwx
|
bootimage-lflags = -Wl,-segprot,__BOOT,rwx,rwx
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user