Files
termux-packages/packages/plzip/configure.patch
termux-pacman-bot a9228d6cc1 plzip: Bump to 1.10
2022-11-19 05:01:09 +00:00

20 lines
417 B
Diff

--- a/configure
+++ b/configure
@@ -21,11 +21,11 @@
datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
-CXX=g++
-CPPFLAGS=
-CXXFLAGS='-Wall -W -O2'
-LDFLAGS=
-LIBS='-llz -lpthread'
+CXX?=g++
+CPPFLAGS?=
+CXXFLAGS?='-Wall -W -O2'
+LDFLAGS?=
+LIBS='-llz'
# checking whether we are using GNU C++.
/bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; }