make_ext4fs: add missing space after LDFLAGS

If LDFLAGS is non-empty then next standing "-o" flag may be mistakenly
appended to it leading to build error.

Fixes: 5c201be7d72a ("Add LDFLAGS when building libsparse.a")
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
[ improve commit description ]
Link: https://github.com/openwrt/make_ext4fs/pull/3
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Konstantin Demin 2025-05-01 21:39:41 +03:00 committed by Christian Marangi
parent 5c201be7d7
commit 13767a96fc
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -27,7 +27,7 @@ OBJ := \
$(CC) $(CFLAGS) -c -o $@ $^
make_ext4fs: $(OBJ) libsparse/libsparse.a
$(CC) $(LDFLAGS)-o $@ $^ $(ZLIB)
$(CC) $(LDFLAGS) -o $@ $^ $(ZLIB)
libsparse/libsparse.a:
$(MAKE) -C libsparse/ libsparse.a