aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-27 14:20:05 +0000
committerLaurent Bercot <ska@appnovation.com>2025-05-27 14:20:05 +0000
commit221c23a856f74f3db9495186788815970b2d2840 (patch)
tree241c4fdf8c8cec37fc709df18b5c2ba0de48fdc8 /configure
parent2c709233b72ced18e8733a9a5598bfaa25ca76e1 (diff)
downloadnsss-221c23a856f74f3db9495186788815970b2d2840.tar.gz
Add consistent pthread support
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index 8d9421b..f9c5185 100755
--- a/configure
+++ b/configure
@@ -394,8 +394,10 @@ echo " ... *.$shlibext"
if $allpic ; then
tryflag CPPFLAGS_AUTO -fPIC
fi
-spawn_lib=$(cat $sysdeps/spawn.lib)
+
+pthread_lib=$(cat $sysdeps/pthread.lib)
socket_lib=$(cat $sysdeps/socket.lib)
+spawn_lib=$(cat $sysdeps/spawn.lib)
sysclock_lib=$(cat $sysdeps/sysclock.lib)
timer_lib=$(cat $sysdeps/timer.lib)
util_lib=$(cat $sysdeps/util.lib)
@@ -464,8 +466,10 @@ home := $home
exthome := $exthome
extra_includedirs :=$depincpath
extra_libdirs :=$deplibpath
-SPAWN_LIB := ${spawn_lib}
+
+PTHREAD_LIB := ${pthread_lib}
SOCKET_LIB := ${socket_lib}
+SPAWN_LIB := ${spawn_lib}
SYSCLOCK_LIB := ${sysclock_lib}
TIMER_LIB := ${timer_lib}
UTIL_LIB := ${util_lib}