From 23ba7e847accfd0342d302c5f2993392548ffcb3 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 14 Aug 2023 16:43:19 +0200 Subject: [PATCH] Add -lpthread to Libs: in pkg-config file --- Makefile | 2 +- stdthreads.pc.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bdf561d..513b323 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ LIB= stdthreads -PACKAGE_VERSION?= 0.2 +PACKAGE_VERSION?= 0.3.2 PREFIX?= /usr HDR= threads.h diff --git a/stdthreads.pc.in b/stdthreads.pc.in index 78cdb85..6e06247 100644 --- a/stdthreads.pc.in +++ b/stdthreads.pc.in @@ -8,4 +8,4 @@ Description: The C11 standard threads library Version: @PACKAGE_VERSION@ Cflags: -I${includedir} -Libs: -L${libdir} -lstdthreads +Libs: -L${libdir} -lstdthreads -lpthread