[tools] cmake: link statically
[openwrt.git] / tools / genext2fs / Makefile
index 1f69b2a..2462b8c 100644 (file)
@@ -36,6 +36,7 @@ HOST_CONFIGURE_ARGS = \
 define Host/Compile
        $(MAKE) -C $(HOST_BUILD_DIR) \
                CFLAGS="$(HOST_CFLAGS)" \
+               LDFLAGS="$(HOST_LDFLAGS) -static" \
                all
 endef