mariadb: Update from 10.2.9 to 10.2.10
[termux-packages] / packages / ddrescue / fix-configure.patch
CommitLineData
539ae082
LP
1diff -uNr ddrescue-1.22/configure ddrescue-1.22.mod/configure
2--- ddrescue-1.22/configure 2017-02-03 14:22:59.000000000 +0200
3+++ ddrescue-1.22.mod/configure 2017-09-09 22:03:38.904467078 +0300
4@@ -15,23 +15,15 @@
5 LC_ALL=C
6 export LC_ALL
7 srcdir=
8-prefix=/usr/local
9+prefix=@TERMUX_PREFIX@
10 exec_prefix='$(prefix)'
11 bindir='$(exec_prefix)/bin'
12 datarootdir='$(prefix)/share'
13 infodir='$(datarootdir)/info'
14 mandir='$(datarootdir)/man'
15-CXX=g++
16 CPPFLAGS=
17 CXXFLAGS='-Wall -W -O2'
18-LDFLAGS=
19-
20-# checking whether we are using GNU C++.
21-/bin/sh -c "${CXX} --version" > /dev/null 2>&1 ||
22- {
23- CXX=c++
24- CXXFLAGS='-W -O2'
25- }
26+LDFLAGS=-L/data/data/com.termux/files/usr/lib
27
28 # Loop over all args
29 args=