summaryrefslogtreecommitdiff
path: root/package/lzma/lzma.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/lzma/lzma.mk')
-rw-r--r--package/lzma/lzma.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk
index ed511c9e0..6e122eb30 100644
--- a/package/lzma/lzma.mk
+++ b/package/lzma/lzma.mk
@@ -44,6 +44,8 @@ $(LZMA_HOST_DIR)/src/lzma/lzma: $(LZMA_HOST_DIR)/.configured
$(STAGING_DIR)/bin/lzma: $(LZMA_HOST_DIR)/src/lzma/lzma
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LZMA_HOST_DIR) install
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" \
+ $(STAGING_DIR)/lib/liblzmadec.la
lzma-host: $(STAGING_DIR)/bin/lzma
lzma-host-clean: