[tools] convert remaining tools to $(HOST_STATIC_LINKING) (#12012)
[openwrt/svn-archive/archive.git] / tools / squashfs4 / Makefile
index 4b917c5..b838b46 100644 (file)
@@ -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