style
[psensor.git] / src / Makefile.am
index 9529e64..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
@@ -27,7 +28,6 @@ LIBS = \
 
 bin_PROGRAMS = psensor
 psensor_SOURCES = \
-       compat.h \
        cfg.h cfg.c \
        graph.h graph.c \
        main.c \