aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-29 19:26:14 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-05-29 19:26:14 +0000
commit40352224c428b6b8faacb5c30da94f31cfa9c5a5 (patch)
tree918ea905c7346d3445e23484e8f2df63195db51a /tools
parent7ed9489d84b54a92027c1d2d0121416984159db4 (diff)
downloads6-rc-40352224c428b6b8faacb5c30da94f31cfa9c5a5.tar.gz
Correctly use pthread_lib sysdep
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure.template8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/configure.template b/tools/configure.template
index db8f59a..ac8ac86 100755
--- a/tools/configure.template
+++ b/tools/configure.template
@@ -389,8 +389,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)
@@ -459,8 +461,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}