Skip to content

Commit

Permalink
It's -lpthread not -lpthreads
Browse files Browse the repository at this point in the history
Otherwise linking fails with missing pthread symbols when building with
with -Dusethreads
  • Loading branch information
michaelolbrich authored and arsv committed Apr 23, 2014
1 parent bddecfb commit efcebb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnf/configure_libs.sh
Expand Up @@ -53,7 +53,7 @@ if not hinted 'perllibs'; then
appendvar '_libs' "$i" ;;
-ldl)
test "$usedl" != 'undef' && appendvar '_libs' "$i" ;;
-lpthreads)
-lpthread)
test "$usethreads" != 'undef' && appendvar '_libs' "$i" ;;
# For a static build, -lgdbm and friends are assumed to be in ext.libs
esac
Expand Down

0 comments on commit efcebb9

Please sign in to comment.