From 6a2ce5abdb677e2868437ad612b81b465f07d865 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Sun, 29 Nov 2015 15:23:46 +0000 Subject: Document pthreads dependency The linking argument isn't strictly needed, since SDL pulls that in, but there's no harm in manually specifying it for people reading the Makefile to see. --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 77bf1a1..8088f8e 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ prefix = /usr CFLAGS = -W -Wall -std=gnu11 `sdl2-config --cflags` -LDFLAGS = `sdl2-config --libs` -lfreeimage -lSDL2_ttf -lfontconfig +LDFLAGS = `sdl2-config --libs` -lfreeimage -lSDL2_ttf -lfontconfig -lpthread TARGET = imv BUILDDIR = build diff --git a/README.md b/README.md index d848497..1598ca6 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ the current image's path to stdout. Installation ------------ -`imv` depends on `FontConfig`, `SDL2`, `SDL_TTF`, and `FreeImage`. +`imv` depends on `pthreads`, `FontConfig`, `SDL2`, `SDL_TTF`, and `FreeImage`. $ make # make install -- cgit v1.2.3