From f3f26ccbae117a7676789002eae08029c2cfaa2f Mon Sep 17 00:00:00 2001 From: glitchub Date: Fri, 9 Nov 2018 14:41:06 -0800 Subject: [PATCH] Also search for /usr/lib64/librt.so --- Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.common b/Makefile.common index 8abf80c..60df96a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -120,8 +120,8 @@ ifeq (${WIN}, Msys) LDFLAGS += -lws2_32 endif -# for clock_gettime on RHEL 6.9 -ifneq ("$(wildcard /usr/lib/librt.so)","") +# for clock_gettime on RHEL 6.X +ifneq ("$(wildcard /usr/lib/librt.so /usr/lib64/librt.so)","") LDFLAGS += -lrt endif -- 2.39.5