0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 04:35:37 +00:00
Files
termux-packages/packages/sc-im/src-Makefile.patch
2025-02-27 11:14:42 +05:30

19 lines
771 B
Diff

This excludes minizip include directory to prevent conflict with libzip.
Otherwise, zip_stat and other symbols are not found in minizip/zip.h.
Those are present in libzip/zip.h.
https://github.com/jmcnamara/libxlsxwriter/commit/3a975c6b897e4913b088170a20027055df53d532
commit added the minizip in xlsxwriter.pc pkgconfig file.
--- a/src/Makefile
+++ b/src/Makefile
@@ -126,7 +126,7 @@ ifneq (, $(shell which pkg-config))
# NOTE: libxlsxwriter is required for xlsx file export support
ifneq ($(shell pkg-config --exists xlsxwriter || echo 'no'),no)
- CFLAGS += -DXLSX_EXPORT $(shell pkg-config --cflags xlsxwriter)
+ CFLAGS += -DXLSX_EXPORT $(shell pkg-config --cflags-only-other xlsxwriter)
LDLIBS += $(shell pkg-config --libs xlsxwriter)
endif