diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-05-07 21:22:00 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-05-07 21:32:02 +0200 |
commit | d5a1757565c0c5539e2728c23d9cb955fba02615 (patch) | |
tree | d58cd0b36c63417ea7fe626fb30174ad3a19841c /package/squashfs | |
parent | ea0695ff5edff392603a77b9299833fbb399e429 (diff) | |
download | buildroot-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>
Diffstat (limited to 'package/squashfs')
-rw-r--r-- | package/squashfs/squashfs.mk | 2 |
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 |