Replaced hard-coded path to home directory with $(HOME)/...

Added -lcrypt to core/Makefile so that dynamic linker can resolve reference to it from authuser.o
This commit is contained in:
vraatikka 2013-07-22 21:48:10 +03:00
parent 2bd7832a11
commit 949db0fe5b
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
# 08/07/13 Mark Riddoch Addition of monitor modules
# 16/07/13 Mark Riddoch Renamed things to match the new naming
DEST=/home/mriddoch/usr/local/skysql
DEST=$(HOME)/usr/local/skysql
all:
(cd inih/extra ; make -f Makefile.static)

View File

@ -69,7 +69,7 @@ OBJ=$(SRCS:.c=.o)
LIBS=-L../inih/extra -linih -lssl -lstdc++ \
-L$(MARIADB_SRC_PATH)/libmysqld \
-lz -lm -lcrypto -ldl -pthread -llog_manager \
-lz -lm -lcrypt -lcrypto -ldl -pthread -llog_manager \
-lmysqld
maxscale: $(OBJ)