aboutsummaryrefslogtreecommitdiff
path: root/package/lzo
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-21 22:06:48 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-21 22:06:48 +0000
commit5dbb973e0e30ca442ac730806115ea8ad5df9678 (patch)
treefe116ba0903d0c469f4dc686a9f6bd3874126c39 /package/lzo
parent5a6e97799451eca181eacf5256ec11d2542ca210 (diff)
downloadbuildroot-5dbb973e0e30ca442ac730806115ea8ad5df9678.tar.gz
buildroot-5dbb973e0e30ca442ac730806115ea8ad5df9678.tar.bz2
- use correct path for lzo libs and headers
Diffstat (limited to 'package/lzo')
-rw-r--r--package/lzo/lzo.mk16
1 files 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