summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/lzo/lzo.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk
index d51d697ff..5531edff2 100644
--- a/package/lzo/lzo.mk
+++ b/package/lzo/lzo.mk
@@ -48,6 +48,7 @@ $(LZO_DIR)/src/liblzo.la: $(LZO_DIR)/.configured
$(STAGING_DIR)/usr/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la
$(MAKE) CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/liblzo.la
touch -c $@
lzo: uclibc $(STAGING_DIR)/usr/lib/liblzo.a