packages/net/tsocks/patches/100-no_static.patch
nbd 4d8c1996ab tsocks: avoid linking statically
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 21:09:42 +00:00

12 lines
448 B
Diff

--- a/Makefile.in
+++ b/Makefile.in
@@ -47,7 +47,7 @@
${SHCC} ${CFLAGS} ${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
${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o
${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}