summaryrefslogtreecommitdiffstats
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
parent4307167ee72ba24386c3dfdaf9de3d04403898a7 (diff)
downloadrockbox-66643cff0c8b694a17ec0f88545abd2a4d89658f.tar.gz
rockbox-66643cff0c8b694a17ec0f88545abd2a4d89658f.tar.bz2
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
-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
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"