From 10337cf80b4dff7c84af0386b42e53edc2e6fc31 Mon Sep 17 00:00:00 2001 From: "Mark M. Hoffman" Date: Sun, 18 Sep 2005 20:25:25 +0000 Subject: [PATCH] (mmh) This trivial patch links the libsysfs library to the libsensors library. One needs to build and install sysfsutils first: http://linux-diag.sourceforge.net/Sysfsutils.html This patch is naive, at least to start. Later it will be made optional depending on whether support for Linux 2.6.x is needed, or just 2.4.x. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3092 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/Module.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Module.mk b/lib/Module.mk index 7c05760f..d7e5cb43 100644 --- a/lib/Module.mk +++ b/lib/Module.mk @@ -61,7 +61,7 @@ LIBHEADERFILES := $(MODULE_DIR)/error.h $(MODULE_DIR)/sensors.h \ # How to create the shared library $(MODULE_DIR)/$(LIBSHLIBNAME): $(LIBSHOBJECTS) - $(CC) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm + $(CC) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm -lsysfs $(MODULE_DIR)/$(LIBSHSONAME): $(MODULE_DIR)/$(LIBSHLIBNAME) $(RM) $@