From b0842f9a139203fb5a2e36863ac9553f3b9c1e5d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Oct 2004 20:18:02 +0000 Subject: Thomas Lundquist: have the makefiles depend on the correct file --- package/lzo/lzo.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'package/lzo') diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index c1b711f42..94ce57534 100644 --- a/package/lzo/lzo.mk +++ b/package/lzo/lzo.mk @@ -29,6 +29,7 @@ LZO_CONFIG_SHARED:=--disable-shared $(LZO_DIR)/.configured: $(LZO_DIR)/.unpacked (cd $(LZO_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ @@ -50,10 +51,10 @@ $(LZO_DIR)/.configured: $(LZO_DIR)/.unpacked $(LZO_DIR)/src/liblzo.la: $(LZO_DIR)/.configured $(MAKE) -C $(LZO_DIR) -$(STAGING_DIR)/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la +$(STAGING_DIR)/usr/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la $(MAKE) CC=$(TARGET_CC) DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install -lzo: uclibc $(STAGING_DIR)/lib/liblzo.a +lzo: uclibc $(STAGING_DIR)/usr/lib/liblzo.a lzo-clean: $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) uninstall -- cgit v1.2.3