0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
2023-03-01 05:50:52 +00:00

12 lines
379 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@
# TODO: Perhaps detect and use system libdeflate if available.
maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) 7zip/7zip.a libdeflate/libdeflate.a
- $(CXX) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ -luv -llz4 -lz
+ $(CXX) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LDFLAGS) -luv -llz4 -lz
7zip/7zip.a:
$(MAKE) -C 7zip 7zip.a