From 5dbb973e0e30ca442ac730806115ea8ad5df9678 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 21 Jun 2007 22:06:48 +0000 Subject: [PATCH] - use correct path for lzo libs and headers --- package/lzo/lzo.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index de7e3e325c..02077e2d83 100644 --- a/package/lzo/lzo.mk +++ b/package/lzo/lzo.mk @@ -22,7 +22,7 @@ lzo-source: $(DL_DIR)/$(LZO_SOURCE) $(LZO_DIR)/.unpacked: $(DL_DIR)/$(LZO_SOURCE) $(LZO_CAT) $(DL_DIR)/$(LZO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(LZO_DIR) package/lzo/ lzo\*.patch - touch $(LZO_DIR)/.unpacked + touch $@ LZO_CONFIG_SHARED:=--disable-shared #LZO_CONFIG_SHARED:=--enable-shared @@ -36,21 +36,21 @@ $(LZO_DIR)/.configured: $(LZO_DIR)/.unpacked --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ - --prefix=/ \ - --includedir=/include \ - --libdir=/lib \ + --prefix=/usr \ + --includedir=/usr/include \ + --libdir=/usr/lib \ $(LZO_CONFIG_SHARED) \ ); - touch $(LZO_DIR)/.configured + touch $@ $(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 - touch -c $(STAGING_DIR)/lib/liblzo.a + touch -c $@ -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 -- 2.30.2