diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-09 20:18:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-09 20:18:02 +0000 |
commit | b0842f9a139203fb5a2e36863ac9553f3b9c1e5d (patch) | |
tree | 7e5f3e4ff9b7bdb970903ef5ab8a8b98590db3fa /package/lzo | |
parent | 612ce732f21260c1b7ac63ee26183d2c77fd5426 (diff) |
Thomas Lundquist: have the makefiles depend on the correct file
Diffstat (limited to 'package/lzo')
-rw-r--r-- | package/lzo/lzo.mk | 5 |
1 files changed, 3 insertions, 2 deletions
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 |