From d5a1757565c0c5539e2728c23d9cb955fba02615 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 7 May 2010 21:22:00 +0200 Subject: squashfs: fix build when zlib isn't available on the host Pass CFLAGS and LDFLAGS so that when building squashfs, it finds the zlib installed in $(HOST_DIR). Signed-off-by: Thomas Petazzoni --- package/squashfs/squashfs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/squashfs/squashfs.mk') diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk index ab05b06e5..1dccb0881 100644 --- a/package/squashfs/squashfs.mk +++ b/package/squashfs/squashfs.mk @@ -18,7 +18,7 @@ define SQUASHFS_INSTALL_TARGET_CMDS endef define HOST_SQUASHFS_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ + $(HOST_MAKE_ENV) $(MAKE) CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" -C $(@D)/squashfs-tools/ endef define HOST_SQUASHFS_INSTALL_CMDS -- cgit v1.2.3