Fix --enable-shark build bustage, r=ted. This is a temporary fix, real fix will be in bug 473563.
authorPeter Van der Beken <peterv@propagandism.org>
Wed, 14 Jan 2009 16:47:43 +0100
changeset 23674 07e5eadf7c7899a3e76631dc02006a2eadabe312
parent 23673 03d4e7eb5fcb837062dca51af7c3bb15f6d5aebe
child 23675 10abcf39e2d92559ba4b2c77f043e4434ccf3c59
push id4668
push userpvanderbeken@mozilla.com
push dateWed, 14 Jan 2009 15:47:57 +0000
treeherdermozilla-central@07e5eadf7c78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs473563
milestone1.9.2a1pre
Fix --enable-shark build bustage, r=ted. This is a temporary fix, real fix will be in bug 473563.
js/src/shell/Makefile.in
--- a/js/src/shell/Makefile.in
+++ b/js/src/shell/Makefile.in
@@ -50,11 +50,17 @@ CPPSRCS		= js.cpp
 DEFINES         += -DEXPORT_JS_API
 
 LIBS      = $(NSPR_LIBS) $(EDITLINE_LIBS) $(DEPTH)/$(LIB_PREFIX)js_static.$(LIB_SUFFIX)
 
 LOCAL_INCLUDES += -I$(topsrcdir) -I..
 
 include $(topsrcdir)/config/rules.mk
 
+ifdef MOZ_SHARK
+CFLAGS += -F/System/Library/PrivateFrameworks
+CXXFLAGS += -F/System/Library/PrivateFrameworks
+LDFLAGS += -F/System/Library/PrivateFrameworks -framework CHUD
+endif
+
 # People expect the js shell to wind up in the top-level JS dir.
 libs::
 	$(INSTALL) $(IFLAGS2) $(PROGRAM) $(DEPTH)