termux-packages/packages/unicorn/samples-Makefile.patch
Leonid Pliushch 47df9e73c1 move some packages from unstable repo
* algernon
* apg
* aptly
* arj
* codecrypt
* crunch
* cryptopp
* diskus
* google-glog
* hexyl
* jp2a
* libgfshare
* libmcrypt
* libmhash
* libmicrohttpd
* libnftnl
* libsigsegv
* lua-lpeg
* morse2ascii
* seccure
* secure-delete
* ssss
* steghide
* taglib
* unicorn
* vegeta
* vis
* wren
* wuzz
* zsync
2019-09-08 16:44:36 +03:00

21 lines
439 B
Diff

diff --git a/samples/Makefile b/samples/Makefile
index 4724f17..8303ba5 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -14,12 +14,12 @@ V ?= 0
CFLAGS += -Wall -Werror -I../include
-LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm
+LDFLAGS += -L$(LIBDIR) -lunicorn -lm
ifeq ($(UNAME_S), Linux)
-LDFLAGS += -lrt
+LDFLAGS +=
endif
-LDLIBS += -lpthread -lunicorn -lm
+LDLIBS += -lunicorn -lm
ifneq ($(CROSS),)
CC = $(CROSS)gcc