X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=tools%2Fsquashfs4%2FMakefile;h=b838b46c55a10e2091d8fd54e6a77bf602a16ac1;hb=3e6923d10cedc04738cb9e9010dc3a07134200b0;hp=4b917c59cf076003ad4d0509dd1421d944be98b5;hpb=8ab8380f7986f1de8e28839007e7ebc320baafbd;p=openwrt.git diff --git a/tools/squashfs4/Makefile b/tools/squashfs4/Makefile index 4b917c59cf..b838b46c55 100644 --- a/tools/squashfs4/Makefile +++ b/tools/squashfs4/Makefile @@ -26,7 +26,7 @@ define Host/Compile XATTR_SUPPORT= \ LZMA_LIB="$(STAGING_DIR_HOST)/lib/liblzma.a" \ EXTRA_CFLAGS="-I$(STAGING_DIR_HOST)/include" \ - EXTRA_LDFLAGS="-static" \ + EXTRA_LDFLAGS="$(HOST_STATIC_LINKING)" \ mksquashfs unsquashfs endef