[arch-commits] Commit in tuntox/trunk (shared-build.patch)

Jiachen Yang farseerfc at archlinux.org
Wed Dec 21 13:57:46 UTC 2016


    Date: Wednesday, December 21, 2016 @ 13:57:45
  Author: farseerfc
Revision: 200802

upgpkg: tuntox 0.0.5.6d74a7a-1

tuntox migrate to c-toxcore API

Deleted:
  tuntox/trunk/shared-build.patch

--------------------+
 shared-build.patch |   22 ----------------------
 1 file changed, 22 deletions(-)

Deleted: shared-build.patch
===================================================================
--- shared-build.patch	2016-12-21 13:53:19 UTC (rev 200801)
+++ shared-build.patch	2016-12-21 13:57:45 UTC (rev 200802)
@@ -1,22 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 5e19d0a..96c6ff3 100644
---- a/Makefile
-+++ b/Makefile
-@@ -3,7 +3,7 @@ DEPS=libtoxcore
- CC=gcc
- CFLAGS=-g #-std=c99
- CFLAGS += $(shell pkg-config --cflags $(DEPS))
--LDFLAGS=-g -pthread -lm -static -lrt
-+LDFLAGS=-g -pthread -lm -lrt
- LDFLAGS += $(shell pkg-config --libs $(DEPS))
- OBJECTS=$(SOURCES:.c=.o)
- INCLUDES = $(wildcard *.h)
-@@ -19,7 +19,7 @@ gitversion.c: gitversion.h
- 	$(CC) $(CFLAGS) $< -c -o $@
- 
- tuntox: $(OBJECTS) $(INCLUDES)
--	$(CC) -o $@ $(OBJECTS) -ltoxcore -lpthread $(LDFLAGS) /usr/local/lib/libsodium.a /usr/local/lib/libtoxcore.a
-+	$(CC) -o $@ $(OBJECTS) -ltoxcore -lpthread $(LDFLAGS) -lsodium
- 
- cscope.out:
- 	cscope -bv ./*.[ch] 



More information about the arch-commits mailing list