mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +00:00
add -lm to shared library so exp() and log() will be found
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1670 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b71c744437
commit
be62b338d5
1 file changed
+1
-1
+1
-1
@@ -57,7 +57,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
|
||||
$(CC) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm
|
||||
|
||||
$(MODULE_DIR)/$(LIBSHSONAME): $(MODULE_DIR)/$(LIBSHLIBNAME)
|
||||
$(RM) $@
|
||||
|
||||
Reference in new issue
Block a user