diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-21 22:06:48 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-21 22:06:48 +0000 |
commit | 5dbb973e0e30ca442ac730806115ea8ad5df9678 (patch) | |
tree | fe116ba0903d0c469f4dc686a9f6bd3874126c39 /package/lzo | |
parent | 5a6e97799451eca181eacf5256ec11d2542ca210 (diff) |
- use correct path for lzo libs and headers
Diffstat (limited to 'package/lzo')
-rw-r--r-- | package/lzo/lzo.mk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index de7e3e325..02077e2d8 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 |