Reviewers: jat, fabiomfv,

Description:
Fix the mac build for leopard users of the npapi/xpcom plugins.


Please review this at http://gwt-code-reviews.appspot.com/1323802/show

Affected files:
  M plugins/config.mk
  M plugins/npapi/Makefile
  M plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json
  M plugins/xpcom/Makefile


Index: plugins/config.mk
===================================================================
--- plugins/config.mk   (revision 9618)
+++ plugins/config.mk   (working copy)
@@ -80,7 +80,7 @@
 endif
 ifeq ($(shell uname),Darwin)
 OS=mac
-BASECFLAGS= -g -O2 -fPIC $(INC) -D__mac
+BASECFLAGS= -g -O2 -fPIC $(INC) -D__mac -mmacosx-version-min=10.5
 ARCHCFLAGS=-arch $(MARCH)
 ALLARCHCFLAGS=-arch i386 -arch ppc -arch x86_64
 AR=libtool
Index: plugins/npapi/Makefile
===================================================================
--- plugins/npapi/Makefile      (revision 9618)
+++ plugins/npapi/Makefile      (working copy)
@@ -17,7 +17,7 @@
 ifeq ($(OS),mac)
 RUN_PATH_FLAG = -executable_path
 DLL_SUFFIX = .dylib
-DLLFLAGS = -bundle $(ARCHCFLAGS)
+DLLFLAGS = -bundle $(ARCHCFLAGS) -mmacosx-version-min=10.5
 CFLAGS += -DXP_MACOSX $(ARCHCFLAGS)
 CXXFLAGS += -DXP_MACOSX $(ARCHCFLAGS)
 # Mac puts multiple architectures into the same files
Index: plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json
===================================================================
--- plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json (revision 9618)
+++ plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json (working copy)
@@ -1,6 +1,6 @@
 {
   "name": "GWT Developer Plugin",
-  "version": "1.0.9614",
+  "version": "1.0.9639",
"description": "A plugin to enable debugging with GWT's Development Mode",
   "update_url": "https://dl-ssl.google.com/gwt/plugins/chrome/updates.xml";,
   "icons": {
Index: plugins/xpcom/Makefile
===================================================================
--- plugins/xpcom/Makefile      (revision 9618)
+++ plugins/xpcom/Makefile      (working copy)
@@ -24,7 +24,7 @@
 DEFAULT_FIREFOX_LIBS ?= /Applications/Firefox.app/Contents/MacOS
 RUN_PATH_FLAG = -executable_path
 DLL_SUFFIX = .dylib
-DLLFLAGS += -bundle $(ALLARCHCFLAGS)
+DLLFLAGS += -bundle $(ALLARCHCFLAGS) -mmacosx-version-min=10.5
 CFLAGS += $(ALLARCHCFLAGS)
 CXXFLAGS += $(ALLARCHCFLAGS)
 TARGET_PLATFORM = Darwin-gcc3


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to