summaryrefslogtreecommitdiffstats
path: root/package/libsysfs/libsysfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libsysfs/libsysfs.mk')
-rw-r--r--package/libsysfs/libsysfs.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libsysfs/libsysfs.mk b/package/libsysfs/libsysfs.mk
index 60bf288d60..9ff31a2c73 100644
--- a/package/libsysfs/libsysfs.mk
+++ b/package/libsysfs/libsysfs.mk
@@ -56,6 +56,8 @@ $(LIBSYSFS_DIR)/.compiled: $(LIBSYSFS_DIR)/.configured
$(STAGING_DIR)/usr/lib/libsysfs.so: $(LIBSYSFS_DIR)/.compiled
$(MAKE) -C $(LIBSYSFS_DIR) DESTDIR=$(STAGING_DIR) install
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
+ $(STAGING_DIR)/usr/lib/libsysfs.la
touch -c $@
$(TARGET_DIR)/usr/lib/libsysfs.so: $(STAGING_DIR)/usr/lib/libsysfs.so
OpenPOWER on IntegriCloud