From 564aac603d7860f0c3553d92ac7d1d9cf5d900d3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 19 Sep 2006 14:56:21 +0000 Subject: [PATCH] Don't copy static lib to TARGET_DIR --- package/jpeg/jpeg.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2