termux-packages/packages/proxychains-ng/Makefile.patch
Leonid Pliushch bd6813c490 move proxychains-ng from unstable packages
Can be used as replacement for 'torsocks' which is not working after Android 8.
2019-03-18 22:28:16 +02:00

22 lines
693 B
Diff

diff -uNr proxychains-ng-4.13/Makefile proxychains-ng-4.13.mod/Makefile
--- proxychains-ng-4.13/Makefile 2018-06-25 02:26:05.000000000 +0300
+++ proxychains-ng-4.13.mod/Makefile 2019-03-05 19:35:28.924332422 +0200
@@ -8,7 +8,7 @@
exec_prefix = /usr/local
bindir = $(exec_prefix)/bin
-prefix = /usr/local/
+prefix = @TERMUX_PREFIX@
includedir = $(prefix)/include
libdir = $(prefix)/lib
sysconfdir=$(prefix)/etc
@@ -25,7 +25,7 @@
CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe
NO_AS_NEEDED = -Wl,--no-as-needed
LIBDL = -ldl
-LDFLAGS = -fPIC $(NO_AS_NEEDED) $(LIBDL) -lpthread
+LDFLAGS = -fPIC $(NO_AS_NEEDED) $(LIBDL)
INC =
PIC = -fPIC
AR = $(CROSS_COMPILE)ar