mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
4307167ee7
commit
66643cff0c
1 changed files with 1 additions and 0 deletions
1
tools/configure
vendored
1
tools/configure
vendored
|
@ -373,6 +373,7 @@ EOF
|
||||||
if [ -z "$ARG_THREAD_SUPPORT" ] || [ "$ARG_THREAD_SUPPORT" = "0" ]; then
|
if [ -z "$ARG_THREAD_SUPPORT" ] || [ "$ARG_THREAD_SUPPORT" = "0" ]; then
|
||||||
if [ "$sigaltstack" = "0" ]; then
|
if [ "$sigaltstack" = "0" ]; then
|
||||||
thread_support="HAVE_SIGALTSTACK_THREADS"
|
thread_support="HAVE_SIGALTSTACK_THREADS"
|
||||||
|
LDOPTS="$LDOPTS -lpthread" # pthread needed
|
||||||
echo "Selected sigaltstack threads"
|
echo "Selected sigaltstack threads"
|
||||||
elif [ "$fibers" = "0" ]; then
|
elif [ "$fibers" = "0" ]; then
|
||||||
thread_support="HAVE_WIN32_FIBER_THREADS"
|
thread_support="HAVE_WIN32_FIBER_THREADS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue