diff --git a/packages/tsocks/no-static-linking.patch b/packages/tsocks/no-static-linking.patch index 771424cce..cb790ab7f 100644 --- a/packages/tsocks/no-static-linking.patch +++ b/packages/tsocks/no-static-linking.patch @@ -1,12 +1,12 @@ diff -uNr tsocks-1.8/Makefile.in tsocks-1.8.mod/Makefile.in ---- tsocks-1.8/Makefile.in 2002-03-16 12:12:40.000000000 +0200 -+++ tsocks-1.8.mod/Makefile.in 2019-08-16 03:39:24.865614750 +0300 -@@ -47,7 +47,7 @@ - ${SHCC} ${CFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS} +--- tsocks-1.8/Makefile.in 2019-08-16 03:45:14.838316083 +0300 ++++ tsocks-1.8.mod/Makefile.in 2019-08-16 03:45:33.711794904 +0300 +@@ -49,7 +49,7 @@ + ${SHCC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS} ${SAVE}: ${SAVE}.c -- ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c -+ ${SHCC} ${CFLAGS} ${INCLUDES} -o ${SAVE} ${SAVE}.c +- ${SHCC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c ++ ${SHCC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ${INCLUDES} -o ${SAVE} ${SAVE}.c ${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o - ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS} + ${SHCC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ${INCLUDES} -Wl,-soname,libtsocks.so.1 -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}