aboutsummaryrefslogtreecommitdiff
path: root/package/lzo/lzo.mk
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org>2004-10-09 20:18:02 +0000
committerGravatar Mike Frysinger <vapier@gentoo.org>2004-10-09 20:18:02 +0000
commitb0842f9a139203fb5a2e36863ac9553f3b9c1e5d (patch)
tree7e5f3e4ff9b7bdb970903ef5ab8a8b98590db3fa /package/lzo/lzo.mk
parent612ce732f21260c1b7ac63ee26183d2c77fd5426 (diff)
downloadbuildroot-b0842f9a139203fb5a2e36863ac9553f3b9c1e5d.tar.gz
buildroot-b0842f9a139203fb5a2e36863ac9553f3b9c1e5d.tar.bz2
Thomas Lundquist: have the makefiles depend on the correct file
Diffstat (limited to 'package/lzo/lzo.mk')
-rw-r--r--package/lzo/lzo.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk
index c1b711f42a..94ce575349 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