Now using the CoreServices instead of the Carbon framework....this

allows for cocoa and future compatability
This commit is contained in:
jent 2009-07-02 03:30:05 -06:00
parent 8c3d65a835
commit 8335dc4297
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
#ifdef __APPLE__
# define SO_SUFFIX ".jnilib"
#include <Carbon/Carbon.h>
#include <CoreServices/CoreServices.h>
#elif defined WIN32
# define SO_SUFFIX ".dll"
#else

View File

@ -123,7 +123,7 @@ endif
ifeq ($(platform),darwin)
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)
bootimage-lflags = -Wl,-segprot,__BOOT,rwx,rwx
endif