From 66643cff0c8b694a17ec0f88545abd2a4d89658f Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 19 Feb 2011 02:19:04 +0000 Subject: Explicitely add -lpthread to the linker command for the new sigaltstack threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29338 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index a05d8f64f4..6a060de2fc 100755 --- a/tools/configure +++ b/tools/configure @@ -373,6 +373,7 @@ EOF if [ -z "$ARG_THREAD_SUPPORT" ] || [ "$ARG_THREAD_SUPPORT" = "0" ]; then if [ "$sigaltstack" = "0" ]; then thread_support="HAVE_SIGALTSTACK_THREADS" + LDOPTS="$LDOPTS -lpthread" # pthread needed echo "Selected sigaltstack threads" elif [ "$fibers" = "0" ]; then thread_support="HAVE_WIN32_FIBER_THREADS" -- cgit v1.2.3