From: glitchub Date: Fri, 9 Nov 2018 22:41:06 +0000 (-0800) Subject: Also search for /usr/lib64/librt.so X-Git-Tag: v1.7~36^2 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=f3f26ccbae117a7676789002eae08029c2cfaa2f;p=sx%2Fsimavr.git Also search for /usr/lib64/librt.so --- 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