gconf optional
[psensor.git] / src / Makefile.am
index ee0c83f..8121536 100644 (file)
@@ -1,6 +1,7 @@
 SUBDIRS = lib glade
 
-AM_LDFLAGS = -Wl,--as-needed 
+# -export-dynamic is need for defining handlers in the glade file.
+AM_LDFLAGS = -Wl,--as-needed -export-dynamic
 
 if LIBMICROHTTPD
 if JSON
@@ -22,11 +23,11 @@ LIBS = \
        lib/libpsensor.a \
        $(GTK_LIBS)\
        $(GCONF_LIBS)\
+       $(PTHREAD_LIBS)\
        $(SENSORS_LIBS)
 
 bin_PROGRAMS = psensor
 psensor_SOURCES = \
-       compat.h \
        cfg.h cfg.c \
        graph.h graph.c \
        main.c \