Skip to content

Instantly share code, notes, and snippets.

@ttilley
Created March 15, 2011 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ttilley/870735 to your computer and use it in GitHub Desktop.
Save ttilley/870735 to your computer and use it in GitHub Desktop.
a bit of a hack to just use the installed system rather than a specific SDK, as xcode4 only ships with 10.6 SDK, and using that specifically would both be limiting and also, btw, not work (the JDK paths become incorrect).
diff --git a/cext/src/Makefile b/cext/src/Makefile
index 67116ce..8e1d954 100644
--- a/cext/src/Makefile
+++ b/cext/src/Makefile
@@ -154,7 +154,7 @@ endif
ifeq ($(OS), darwin)
PLATFORM = Darwin
- MACSDK = /Developer/SDKs/MacOSX10.5.sdk
+ MACSDK = /
JDK_INCLUDES = -I$(MACSDK)/System/Library/Frameworks/JavaVM.framework/Headers
ARCHES = ppc
ifneq ($(findstring $(CPU), i386 x86_64),)
@ttilley
Copy link
Author

ttilley commented Mar 15, 2011

I didn't look into a more clean refactoring than this because, well... it worked. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment