compiler: use -lpthread during building v itself.

This commit is contained in:
Delyan Angelov 2020-05-22 08:36:56 +03:00
parent 27644333a8
commit 7a4f26ac4f
4 changed files with 9 additions and 2 deletions

View file

@ -48,7 +48,7 @@ ifdef WIN32
$(CC) $(CFLAGS) -g -std=c99 -municode -w -o v.exe $(TMPVC)/$(VCFILE) $(LDFLAGS)
./v.exe self
else
$(CC) $(CFLAGS) -g -std=gnu11 -w -o v $(TMPVC)/$(VCFILE) $(LDFLAGS) -lm
$(CC) $(CFLAGS) -g -std=gnu11 -w -o v $(TMPVC)/$(VCFILE) $(LDFLAGS) -lm -lpthread
ifdef ANDROID
chmod 755 v
endif