Created
March 15, 2011 13:54
-
-
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).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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),) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I didn't look into a more clean refactoring than this because, well... it worked. :)