summaryrefslogtreecommitdiff
path: root/openwrt/package/libelf
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/libelf')
-rw-r--r--openwrt/package/libelf/Makefile4
-rw-r--r--openwrt/package/libelf/ipkg/libelf.control (renamed from openwrt/package/libelf/libelf.control)0
2 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/libelf/Makefile b/openwrt/package/libelf/Makefile
index c176db5ff2..135796682e 100644
--- a/openwrt/package/libelf/Makefile
+++ b/openwrt/package/libelf/Makefile
@@ -72,9 +72,9 @@ $(STAGING_DIR)/usr/lib/libelf.so: $(PKG_BUILD_DIR)/.built
install
$(IPKG_LIBELF): $(STAGING_DIR)/usr/lib/libelf.so
- $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBELF) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
+ $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBELF) ./ipkg/$(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
mkdir -p $(IDIR_LIBELF)/usr/lib
- cp -fp $(PKG_BUILD_DIR)/lib/libelf.so.* $(IDIR_LIBELF)/usr/lib/
+ cp -fpR $(PKG_BUILD_DIR)/lib/libelf.so.* $(IDIR_LIBELF)/usr/lib/
$(STRIP) $(IDIR_LIBELF)/usr/lib/lib*.so*
mkdir -p $(PACKAGE_DIR)
$(IPKG_BUILD) $(IDIR_LIBELF) $(PACKAGE_DIR)
diff --git a/openwrt/package/libelf/libelf.control b/openwrt/package/libelf/ipkg/libelf.control
index 141b928013..141b928013 100644
--- a/openwrt/package/libelf/libelf.control
+++ b/openwrt/package/libelf/ipkg/libelf.control