summaryrefslogtreecommitdiff
blob: 8df1953b7b401fb3fa800125f246198ad4d55df0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 sensors-applet/Makefile.am |    4 ++--
 sensors-applet/Makefile.in |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sensors-applet/Makefile.am b/sensors-applet/Makefile.am
index a87feb0..097122e 100644
--- a/sensors-applet/Makefile.am
+++ b/sensors-applet/Makefile.am
@@ -11,7 +11,7 @@ INCLUDES = -DGNOMELOCALEDIR=\""$(datadir)/locale/"\" \
 	$(GLIB_CFLAGS) $(GTK_CFLAGS) $(GNOME_CFLAGS) $(CAIRO_CFLAGS) $(LIBNOTIFY_CFLAGS)
 
 
-LIBS = $(GLIB_LIBS) $(GTK_LIBS) $(GNOME_LIBS) $(CAIRO_LIBS) $(LIBNOTIFY_LIBS)
+LIBS = $(GLIB_LIBS) $(GTK_LIBS) $(GNOME_LIBS) $(CAIRO_LIBS) $(LIBNOTIFY_LIBS) -ldl
 
 if LIBNOTIFY
 libnotify_SRC = active-sensor-libnotify.c \
@@ -47,4 +47,4 @@ headerdir = $(prefix)/include/sensors-applet
 header_DATA = $(INST_H_FILES)
 
 # since it is separate
-EXTRA_DIST = sensors-applet-plugin.h
\ No newline at end of file
+EXTRA_DIST = sensors-applet-plugin.h
diff --git a/sensors-applet/Makefile.in b/sensors-applet/Makefile.in
index dd6765f..3b0b8ac 100644
--- a/sensors-applet/Makefile.in
+++ b/sensors-applet/Makefile.in
@@ -167,7 +167,7 @@ LIBATASMART_LIBS = @LIBATASMART_LIBS@
 LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
 LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@
 LIBOBJS = @LIBOBJS@
-LIBS = $(GLIB_LIBS) $(GTK_LIBS) $(GNOME_LIBS) $(CAIRO_LIBS) $(LIBNOTIFY_LIBS)
+LIBS = $(GLIB_LIBS) $(GTK_LIBS) $(GNOME_LIBS) $(CAIRO_LIBS) $(LIBNOTIFY_LIBS) -ldl
 LIBSENSORS_CFLAGS = @LIBSENSORS_CFLAGS@
 LIBSENSORS_LIBS = @LIBSENSORS_LIBS@
 LIBTOOL = @LIBTOOL@