Files
termux-packages/packages/plzip/configure.patch
termux-pacman-bot 126b937346 tree-wide: remove pthread/rt patches and workarounds
Commit af18f1dac0b5 ("scripts: start_build: create libpthread and
librt as well") added helper libs so that packages that try to find
these libs can do so.

%ci:no-build
2023-02-13 06:03:05 +00:00

18 lines
324 B
Diff

--- a/configure
+++ b/configure
@@ -21,10 +21,10 @@
datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
-CXX=g++
-CPPFLAGS=
-CXXFLAGS='-Wall -W -O2'
-LDFLAGS=
+CXX?=g++
+CPPFLAGS?=
+CXXFLAGS?='-Wall -W -O2'
+LDFLAGS?=
LIBS='-llz -lpthread'
# checking whether we are using GNU C++.