summaryrefslogtreecommitdiff
path: root/openwrt/package/mysql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/mysql/Makefile')
-rw-r--r--openwrt/package/mysql/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/mysql/Makefile b/openwrt/package/mysql/Makefile
index 5cca041a07..dfe332f211 100644
--- a/openwrt/package/mysql/Makefile
+++ b/openwrt/package/mysql/Makefile
@@ -109,9 +109,9 @@ $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so: $(PKG_BUILD_DIR)/.built
rm -rf $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.la
$(IPKG_LIBMYSQLCLIENT): $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so
- $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBMYSQLCLIENT) libmysqlclient.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
+ $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBMYSQLCLIENT) ./ipkg/libmysqlclient.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
mkdir -p $(IDIR_LIBMYSQLCLIENT)/usr/lib
- cp -fp $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so.* $(IDIR_LIBMYSQLCLIENT)/usr/lib/
+ cp -fpR $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so.* $(IDIR_LIBMYSQLCLIENT)/usr/lib/
$(STRIP) $(IDIR_LIBMYSQLCLIENT)/usr/lib/*.so*
mkdir -p $(PACKAGE_DIR)
$(IPKG_BUILD) $(IDIR_LIBMYSQLCLIENT) $(PACKAGE_DIR)