diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-02-19 02:19:04 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-02-19 02:19:04 +0000 |
commit | 66643cff0c8b694a17ec0f88545abd2a4d89658f (patch) | |
tree | 761d6df2faf91f69c48db062ddebdc619c88eb93 /tools | |
parent | 4307167ee72ba24386c3dfdaf9de3d04403898a7 (diff) | |
download | rockbox-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-x | tools/configure | 1 |
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" |