From 9a1a32554333f21a49dca82c04b9f31943004bd4 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sat, 14 Mar 2015 15:46:29 +0100 Subject: [PATCH] Fix linker error on recent MinGW Commit 5874e67aa7c5fb7b7f82163c1777480c0aaa1541 added -lrt for compatibility with certain Linux distributions, but on recent MinGW, this fails. --- Makefile.git | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2