Bug 498005: pkg-config fixes for building gtk/x11 test app, r=mfinkle
--- 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