diff -u -r ../redis-5.0.0/src/Makefile ./src/Makefile
--- ../redis-5.0.0/src/Makefile	2018-10-17 15:31:39.000000000 +0000
+++ ./src/Makefile	2018-10-18 17:20:36.811751940 +0000
@@ -100,7 +100,7 @@
 else
 	# All the other OSes (notably Linux)
 	FINAL_LDFLAGS+= -rdynamic
-	FINAL_LIBS+=-ldl -pthread -lrt
+	FINAL_LIBS+=-ldl
 endif
 endif
 endif
