Use pkg-config libosso instead of pkg-config dbus-1 for the plugin
authorSteven Luo <steven+maemo@steven676.net>
Sat, 19 Dec 2009 02:48:35 +0000 (18:48 -0800)
committerSteven Luo <steven+maemo@steven676.net>
Sat, 19 Dec 2009 03:11:47 +0000 (19:11 -0800)
The hildon-control-panel plugin interface needs libosso to compile;
the use of pkg-config dbus-1 was just covering this up.

config-ui/Makefile

index 8e174d0..4cd2d72 100644 (file)
@@ -4,11 +4,11 @@ CFLAGS_PLUGIN = -fPIC
 CPPFLAGS = -I../ `pkg-config --cflags gtk+-2.0`
 CPPFLAGS_HILDON = -DHILDON `pkg-config --cflags hildon-1`
 CPPFLAGS_PLUGIN = $(CPPFLAGS_HILDON) -DHILDON_CP_APPLET \
-       `pkg-config --cflags dbus-1` `pkg-config --cflags hildon-control-panel`
+       `pkg-config --cflags libosso` `pkg-config --cflags hildon-control-panel`
 LDFLAGS = `pkg-config --libs gtk+-2.0`
 LDFLAGS_HILDON = `pkg-config --libs hildon-1`
 LDFLAGS_PLUGIN = -shared $(LDFLAGS_HILDON) \
-       `pkg-config --libs dbus-1` `pkg-config --libs hildon-control-panel`
+       `pkg-config --libs libosso` `pkg-config --libs hildon-control-panel`
 PREFIX = /usr
 
 other_obj = ../configfile.o