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

openttd: link with pthreads

parent bcfaace9
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ diff -rupNw source-original/config.lib source/config.lib
if [ "$os" != "CYGWIN" ] && [ "$os" != "HAIKU" ] && [ "$os" != "OPENBSD" ] && [ "$os" != "MINGW" ] && [ "$os" != "MORPHOS" ] && [ "$os" != "OSX" ] && [ "$os" != "DOS" ] && [ "$os" != "WINCE" ] && [ "$os" != "PSP" ] && [ "$os" != "OS2" ]; then
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS"
+ LIBS="$LIBS -Wl,--whole-archive -lpthread -Wl,--no-whole-archive"
fi
if [ "$os" != "CYGWIN" ] && [ "$os" != "HAIKU" ] && [ "$os" != "MINGW" ] && [ "$os" != "DOS" ] && [ "$os" != "WINCE" ]; then
......
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