From: Michal Sojka Date: Sat, 14 Mar 2015 14:46:29 +0000 (+0100) Subject: Fix linker error on recent MinGW X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/commitdiff_plain/9a1a32554333f21a49dca82c04b9f31943004bd4 Fix linker error on recent MinGW Commit 5874e67aa7c5fb7b7f82163c1777480c0aaa1541 added -lrt for compatibility with certain Linux distributions, but on recent MinGW, this fails. --- diff --git a/Makefile.git b/Makefile.git index 409f949..c8049fa 100644 --- a/Makefile.git +++ b/Makefile.git @@ -39,6 +39,7 @@ check-windows-omk.real: echo "CXX=i686-w64-mingw32-g++" >> config.omk echo "AR=i686-w64-mingw32-ar" >> config.omk echo "LD=i686-w64-mingw32-ld" >> config.omk + echo "TARGET_LOADLIBES=pthread" >> config.omk ln -s ../orte ../Makefile ../Makefile.omk ../Makefile.rules . make