Adds an explicit reference to the 10.4 Universal SDK root in the
linker flags. This is to fix the build on PPC macs where the default
SDK is still 10.3.9.
Reviewed by: scottb
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@316 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/jni/mac/org.eclipse.swt/make_macosx.mak b/jni/mac/org.eclipse.swt/make_macosx.mak
index ac619c9..af9ea3b 100644
--- a/jni/mac/org.eclipse.swt/make_macosx.mak
+++ b/jni/mac/org.eclipse.swt/make_macosx.mak
@@ -30,7 +30,7 @@
#SWT_DEBUG = -g
ARCHS = -arch i386 -arch ppc
CFLAGS = -c $(ARCHS) -DSWT_VERSION=$(SWT_VERSION) $(NATIVE_STATS) $(SWT_DEBUG) -DCARBON -I /System/Library/Frameworks/JavaVM.framework/Headers
-LFLAGS = -bundle $(ARCHS) -framework JavaVM -framework Carbon
+LFLAGS = -bundle $(ARCHS) -framework JavaVM -framework Carbon -isysroot /Developer/SDKs/MacOSX10.4u.sdk
WEBKITCFLAGS = -c $(ARCHS) -xobjective-c -I /System/Library/Frameworks/JavaVM.framework/Headers -I /System/Library/Frameworks/Cocoa.framework/Headers -I /System/Library/Frameworks/WebKit.framework/Headers
WEBKITLFLAGS = $(LFLAGS) -framework WebKit -framework Cocoa -framework WebCore -framework JavaScriptCore -F../Frameworks
AGLLFLAGS = $(LFLAGS) -framework OpenGL -framework AGL