summaryrefslogtreecommitdiffstats
path: root/package/database/sqlite/sqlite.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/database/sqlite/sqlite.mk')
-rw-r--r--package/database/sqlite/sqlite.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/database/sqlite/sqlite.mk b/package/database/sqlite/sqlite.mk
index 80d9395ea..7df58574b 100644
--- a/package/database/sqlite/sqlite.mk
+++ b/package/database/sqlite/sqlite.mk
@@ -52,8 +52,8 @@ $(STAGING_DIR)/usr/bin/sqlite3: $(SQLITE_DIR)/sqlite3
$(TARGET_DIR)/usr/bin/sqlite3: $(STAGING_DIR)/usr/bin/sqlite3
$(INSTALL) -m 0755 -D $^ $@
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
- $(INSTALL) -m 0644 -D $(STAGING_DIR)/usr/lib/libsqlite3*.so* $(TARGET_DIR)/usr/lib/
- $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libsqlite3.so*
+ cp -dpf $(STAGING_DIR)/usr/lib/libsqlite3*.so* $(TARGET_DIR)/usr/lib/
+ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libsqlite3.so
sqlite: uclibc readline-target ncurses $(TARGET_DIR)/usr/bin/sqlite3
@@ -63,6 +63,8 @@ sqlite-clean:
-$(MAKE) -C $(SQLITE_DIR) clean
-rm -rf $(STAGING_DIR)/usr/lib/libsqlite*
-rm -rf $(STAGING_DIR)/usr/bin/sqlite3
+ -rm -rf $(STAGING_DIR)/usr/include/sqlite*
+ -rm -rf $(STAGING_DIR)/usr/lib/pkgconfig/sqlite*
-rm -rf $(TARGET_DIR)/usr/lib/libsqlite*
-rm -rf $(TARGET_DIR)/usr/bin/sqlite3