samples: LDFLAGS += -lpthread. this fixes issue 382

This commit is contained in:
Nguyen Anh Quynh 2016-01-19 09:11:25 +08:00
parent 839ef672b0
commit 69b784fc45

View File

@ -27,7 +27,7 @@ LIBDIR = $(BUILDDIR)
endif
CFLAGS += -Wall -I$(INCDIR)
LDFLAGS += -L$(LIBDIR) -l$(LIBNAME)
LDFLAGS += -lpthread -L$(LIBDIR) -l$(LIBNAME)
LDFLAGS_STATIC += $(UNICORN_DEP_LIBS_STATIC)
ifeq ($(CROSS),)