From: Peter Korsgaard Date: Tue, 19 Sep 2006 14:56:21 +0000 (-0000) Subject: Don't copy static lib to TARGET_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=564aac603d7860f0c3553d92ac7d1d9cf5d900d3;p=buildroot.git Don't copy static lib to TARGET_DIR --- diff --git a/package/jpeg/jpeg.mk b/package/jpeg/jpeg.mk index ce40a77190..b236a33779 100644 --- a/package/jpeg/jpeg.mk +++ b/package/jpeg/jpeg.mk @@ -58,12 +58,12 @@ $(STAGING_DIR)/lib/libjpeg.a: $(JPEG_DIR)/.libs/libjpeg.a rm $(STAGING_DIR)/lib/libjpeg.la touch -c $(STAGING_DIR)/lib/libjpeg.a -$(TARGET_DIR)/usr/lib/libjpeg.a: $(STAGING_DIR)/lib/libjpeg.a - cp -dpf $(STAGING_DIR)/lib/libjpeg* $(TARGET_DIR)/usr/lib/ +$(TARGET_DIR)/usr/lib/libjpeg.so: $(STAGING_DIR)/lib/libjpeg.a + cp -dpf $(STAGING_DIR)/lib/libjpeg.so* $(TARGET_DIR)/usr/lib/ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libjpeg.so* - touch -c $(TARGET_DIR)/usr/lib/libjpeg.a + touch -c $(TARGET_DIR)/usr/lib/libjpeg.so -jpeg: uclibc $(TARGET_DIR)/usr/lib/libjpeg.a +jpeg: uclibc $(TARGET_DIR)/usr/lib/libjpeg.so jpeg-clean: -$(MAKE) -C $(JPEG_DIR) clean