From ac914120b8a06f5e9fa307655ace2934adcc7371 Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Thu, 3 Jul 2014 19:35:16 +0300 Subject: [PATCH] fix server/core/Makefile to make build with static lib working in Ubuntu --- server/core/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/core/Makefile b/server/core/Makefile index 6f08a4729..9bf650c34 100644 --- a/server/core/Makefile +++ b/server/core/Makefile @@ -72,10 +72,10 @@ OBJ=$(SRCS:.c=.o) KOBJS=maxkeys.o secrets.o utils.o POBJS=maxpasswd.o secrets.o utils.o -LIBS=-L../inih/extra -linih -lssl -lstdc++ \ - -L$(EMBEDDED_LIB) \ +LIBS=-L$(EMBEDDED_LIB) \ + -lmysqld \ -lz -lm -lcrypt -lcrypto -ldl -laio -lrt -pthread -llog_manager \ - -lmysqld + -L../inih/extra -linih -lssl -lstdc++ all: maxscale maxkeys maxpasswd