Browse Source

remove .a files from lib directories after install

John Voltz 17 năm trước cách đây
mục cha
commit
1ec48b2e52
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      package/Makefile.autotools.in

+ 3 - 0
package/Makefile.autotools.in

@@ -231,6 +231,9 @@ $(BUILD_DIR)/%/.stamp_target_installed:
 		rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
 	done)
 	find $(TARGET_DIR) -name '*.la' -delete
+	find $(TARGET_DIR)/lib -name '*.a' -delete
+	find $(TARGET_DIR)/usr/lib -name '*.a' -delete
+
 	touch $@
 
 $(BUILD_DIR)/%/.stamp_cleaned: