summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-02-19 02:19:04 +0000
committerThomas Martitz <kugel@rockbox.org>2011-02-19 02:19:04 +0000
commit66643cff0c8b694a17ec0f88545abd2a4d89658f (patch)
tree761d6df2faf91f69c48db062ddebdc619c88eb93 /tools
parent4307167ee72ba24386c3dfdaf9de3d04403898a7 (diff)
downloadrockbox-66643cff0c8b694a17ec0f88545abd2a4d89658f.tar.gz
rockbox-66643cff0c8b694a17ec0f88545abd2a4d89658f.zip
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index a05d8f64f4..6a060de2fc 100755
--- a/tools/configure
+++ b/tools/configure
@@ -373,6 +373,7 @@ EOF
373 if [ -z "$ARG_THREAD_SUPPORT" ] || [ "$ARG_THREAD_SUPPORT" = "0" ]; then 373 if [ -z "$ARG_THREAD_SUPPORT" ] || [ "$ARG_THREAD_SUPPORT" = "0" ]; then
374 if [ "$sigaltstack" = "0" ]; then 374 if [ "$sigaltstack" = "0" ]; then
375 thread_support="HAVE_SIGALTSTACK_THREADS" 375 thread_support="HAVE_SIGALTSTACK_THREADS"
376 LDOPTS="$LDOPTS -lpthread" # pthread needed
376 echo "Selected sigaltstack threads" 377 echo "Selected sigaltstack threads"
377 elif [ "$fibers" = "0" ]; then 378 elif [ "$fibers" = "0" ]; then
378 thread_support="HAVE_WIN32_FIBER_THREADS" 379 thread_support="HAVE_WIN32_FIBER_THREADS"