Skip to content

Commit 5c201be

Browse files
committed
Add LDFLAGS when building libsparse.a
Respect the LDFALGS provided from the outside when linking libsparse.a Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent ec17045 commit 5c201be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OBJ := \
2727
$(CC) $(CFLAGS) -c -o $@ $^
2828

2929
make_ext4fs: $(OBJ) libsparse/libsparse.a
30-
$(CC) -o $@ $^ $(ZLIB)
30+
$(CC) $(LDFLAGS)-o $@ $^ $(ZLIB)
3131

3232
libsparse/libsparse.a:
3333
$(MAKE) -C libsparse/ libsparse.a

0 commit comments

Comments
 (0)