Skip to content
Snippets Groups Projects
Verified Commit bc9111de authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix linking pthreads

parent 0e4ef3d2
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ function recipe_update {
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib"
export LDFLAGS="-L$sysroot/lib -Wl,--whole-archive -lpthread -Wl,--no-whole-archive"
export CPPFLAGS="-I$sysroot/include"
./configure --host=${HOST} --prefix=/ ac_cv_fread_reads_directories=yes ac_cv_snprintf_returns_bogus=yes ac_cv_lib_curl_curl_global_init=yes CURL_CONFIG=no
make ${MAKEFLAGS} -j"$(nproc)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment