remove .a files from lib directories after install
authorJohn Voltz <john.voltz@gmail.com>
Fri, 7 Mar 2008 16:54:45 +0000 (16:54 -0000)
committerJohn Voltz <john.voltz@gmail.com>
Fri, 7 Mar 2008 16:54:45 +0000 (16:54 -0000)
package/Makefile.autotools.in

index 7aa8814c3ef2bf54b706da942a75d423fd3ddd40..358e71613b4610723ecf6ec450ade7d876e7e24d 100644 (file)
@@ -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: