From 9f7214502a7cd095c9d006c1c9d4e1eedb94d900 Mon Sep 17 00:00:00 2001 From: Will Date: Thu, 18 Apr 2019 10:48:58 +0900 Subject: [PATCH] fix library linking order --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 98ededf..0325481 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CFLAGS += -std=c99 -Wall -O2 -D_REENTRANT -LIBS := -lpthread -lm -lssl -lcrypto +LIBS := -lm -lssl -lcrypto -lpthread TARGET := $(shell uname -s | tr '[A-Z]' '[a-z]' 2>/dev/null || echo unknown)