aboutsummaryrefslogtreecommitdiffstats
path: root/package/libsysfs
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-12 23:27:38 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-12 23:27:38 +0000
commit65db09138eb72bb0545c3100c36a1f5ab3ef16e3 (patch)
tree21287d133e5b43a2a0281a2a29455ca03fc194f8 /package/libsysfs
parentebcd8a929e9a94c72f856960d9bfd25a6234f976 (diff)
downloadbuildroot-novena-65db09138eb72bb0545c3100c36a1f5ab3ef16e3.tar.gz
buildroot-novena-65db09138eb72bb0545c3100c36a1f5ab3ef16e3.zip
fix libsysfs.la paths
Diffstat (limited to 'package/libsysfs')
-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 60bf288d6..9ff31a2c7 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