From: Thomas Petazzoni Date: Fri, 7 May 2010 19:22:00 +0000 (+0200) Subject: squashfs: fix build when zlib isn't available on the host X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5a1757565c0c5539e2728c23d9cb955fba02615;p=buildroot.git 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 --- diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk index ab05b06e5e..1dccb0881b 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