Bug 498005: pkg-config fixes for building gtk/x11 test app, r=mfinkle
authorHiroyuki Ikezoe <ikezoe@clear-code.com>
Mon, 22 Jun 2009 11:22:57 -0400
changeset 119 4d6bf1b0b33d757ca5659dc44f98b3d720a9d36f
parent 118 c335c76103d5964be0a9861e52e0660464a46b3f
child 120 ea7e8d737c55fb58814215a96435438ab559646d
push id37
push usermfinkle@mozilla.com
push dateMon, 22 Jun 2009 15:21:14 +0000
reviewersmfinkle
bugs498005
Bug 498005: pkg-config fixes for building gtk/x11 test app, r=mfinkle
gtk/tests/Makefile.x11
--- a/gtk/tests/Makefile.x11
+++ b/gtk/tests/Makefile.x11
@@ -33,18 +33,18 @@
 # the provisions above, a recipient may use your version of this file under
 # the terms of any one of the MPL, the GPL or the LGPL.
 #
 # ***** END LICENSE BLOCK *****
 
 MOZ_CFLAGS=-DMOZ_DLL_SUFFIX="\".so\"" `pkg-config --cflags libxul-embedding-unstable`
 MOZ_LIBS=`pkg-config --libs libxul-embedding-unstable`
 
-CFLAGS=-fno-rtti -I../common -I../include `pkg-config --cflags gtk+-2.0` $(MOZ_CFLAGS)
-LDFLAGS=`pkg-config --libs gtk+-2.0` $(MOZ_LIBS) -lmozwebview
+CFLAGS=-fno-rtti -I../common -I../include `pkg-config --cflags gtk+-2.0 libmozwebview` $(MOZ_CFLAGS)
+LDFLAGS=`pkg-config --libs gtk+-2.0 libmozwebview` $(MOZ_LIBS)
 
 all:test
 
 test:test.cpp
 	$(CXX) -o $@ $< $(CFLAGS) $(LDFLAGS)
 
 clean:
 	rm -f test