summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-07 21:22:00 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-07 21:32:02 +0200
commitd5a1757565c0c5539e2728c23d9cb955fba02615 (patch)
treed58cd0b36c63417ea7fe626fb30174ad3a19841c
parentea0695ff5edff392603a77b9299833fbb399e429 (diff)
downloadbuildroot-novena-d5a1757565c0c5539e2728c23d9cb955fba02615.tar.gz
buildroot-novena-d5a1757565c0c5539e2728c23d9cb955fba02615.zip
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 <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/squashfs/squashfs.mk2
1 files changed, 1 insertions, 1 deletions
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