]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
-pthread is the only necessary linker option for pthread API
authorDirk Engling <erdgeist@erdgeist.org>
Thu, 4 Apr 2024 15:55:27 +0000 (17:55 +0200)
committerDirk Engling <erdgeist@erdgeist.org>
Thu, 4 Apr 2024 15:55:27 +0000 (17:55 +0200)
Makefile

index fcae35317f6b8f07244aeb6276dffac1160435da..3f32b1c4d9868143fb05da90861b8970998b7ccc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage
 OPTS_production=-O3
 
 CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic
-LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz
+LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz
 #LDFLAGS+=-lbsd
 
 BINARY =opentracker