diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-07-08 14:12:09 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-07-08 14:12:09 +0000 |
commit | 5335cb0fb76af564c482ec28284206f5b869948c (patch) | |
tree | 181c0d133ad889afe5a3c01cc8ebe68a6278ef8a | |
parent | cdf8f1cf2fc51a5e613b345adae5285021796af9 (diff) |
sqlite: strip binary and use $(INSTALL) for installation
-rw-r--r-- | package/sqlite/sqlite.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk index b1ee3dc0a..80d9395ea 100644 --- a/package/sqlite/sqlite.mk +++ b/package/sqlite/sqlite.mk @@ -50,8 +50,9 @@ $(STAGING_DIR)/usr/bin/sqlite3: $(SQLITE_DIR)/sqlite3 $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libsqlite3.la $(TARGET_DIR)/usr/bin/sqlite3: $(STAGING_DIR)/usr/bin/sqlite3 - cp -a $(STAGING_DIR)/usr/bin/sqlite3 $(TARGET_DIR)/usr/bin - cp -a $(STAGING_DIR)/usr/lib/libsqlite3*.so* $(TARGET_DIR)/usr/lib/ + $(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* sqlite: uclibc readline-target ncurses $(TARGET_DIR)/usr/bin/sqlite3 |