From f6c18b97caeeae18ab2d8d19409183c6c905ec94 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 7 May 2010 21:23:31 +0200 Subject: squashfs3: fix build when zlib isn't available on the host We need to pass CFLAGS and LDFLAGS, and to rename the patch so that it actually gets applied. Signed-off-by: Thomas Petazzoni --- package/squashfs3/squashfs3.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/squashfs3/squashfs3.mk') diff --git a/package/squashfs3/squashfs3.mk b/package/squashfs3/squashfs3.mk index 5504b1426..69aab1489 100644 --- a/package/squashfs3/squashfs3.mk +++ b/package/squashfs3/squashfs3.mk @@ -18,7 +18,7 @@ define SQUASHFS3_INSTALL_TARGET_CMDS endef define HOST_SQUASHFS3_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_SQUASHFS3_INSTALL_CMDS -- cgit v1.2.3