aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-29 15:23:46 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-29 15:24:14 +0000
commit6a2ce5abdb677e2868437ad612b81b465f07d865 (patch)
treef19abc70dd661c4190b3c1abb0090ed1dc7ec032
parentb979dd67995a4e70952f883a2c68caa03d7e52ad (diff)
downloadimv-6a2ce5abdb677e2868437ad612b81b465f07d865.tar.gz
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.
-rw-r--r--Makefile2
-rw-r--r--README.md2
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