5c201be Add LDFLAGS when building libsparse.a ec17045 make_ext4fs: fix build on musl systems Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 271d0c825ba5821160e4a516497796fa342c2eff)master
parent
a225164bb5
commit
7d6e504dbe
@ -1,11 +0,0 @@ |
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -27,7 +27,7 @@ OBJ := \
|
||||
$(CC) $(CFLAGS) -c -o $@ $^
|
||||
|
||||
make_ext4fs: $(OBJ) libsparse/libsparse.a
|
||||
- $(CC) -o $@ $^ $(ZLIB)
|
||||
+ $(CC) $(LDFLAGS)-o $@ $^ $(ZLIB)
|
||||
|
||||
libsparse/libsparse.a:
|
||||
$(MAKE) -C libsparse/ libsparse.a
|
Loading…
Reference in new issue