summaryrefslogtreecommitdiffstats
path: root/package/lm-sensors/lm-sensors.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/lm-sensors/lm-sensors.mk')
-rw-r--r--package/lm-sensors/lm-sensors.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/lm-sensors/lm-sensors.mk b/package/lm-sensors/lm-sensors.mk
index 60b116ae3..6cbd27b81 100644
--- a/package/lm-sensors/lm-sensors.mk
+++ b/package/lm-sensors/lm-sensors.mk
@@ -39,6 +39,9 @@ $(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY): $(LM_SENSORS_DIR)/.unpacked
$(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY): $(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY)
cp -dpf $(LM_SENSORS_DIR)/$(LM_SENSORS_BINARY) $@
+ cp -dpf $(LM_SENSORS_DIR)/lib/libsensors.so* \
+ $(LM_SENSORS_DIR)/lib/libsensors.a $(TARGET_DIR)/usr/lib/
+ -$(STRIP) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/lib/libsensors.so*
$(STRIP) $(STRIP_STRIP_ALL) $@
lm-sensors: uclibc libsysfs $(TARGET_DIR)/$(LM_SENSORS_TARGET_BINARY)