From 00187c3ef6422b3823522a4fc73d44dfcfc46fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?shuxin=20=E3=80=80=E3=80=80zheng?= Date: Wed, 22 Apr 2020 17:04:59 +0800 Subject: [PATCH] modify master_ctl's Makefile --- app/master/tools/master_ctl/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/master/tools/master_ctl/Makefile.in b/app/master/tools/master_ctl/Makefile.in index 0f4d166e3..0f00a127d 100644 --- a/app/master/tools/master_ctl/Makefile.in +++ b/app/master/tools/master_ctl/Makefile.in @@ -51,6 +51,7 @@ ifeq ($(findstring FreeBSD, $(OSNAME)), FreeBSD) endif CFLAGS += -DFREEBSD -D_REENTRANT SYSLIB = -lcrypt -lpthread -L/usr/local/lib -liconv -lz + RPATH = freebsd endif # For Darwin @@ -59,6 +60,7 @@ ifeq ($(findstring Darwin, $(OSNAME)), Darwin) -Wno-extended-offsetof UNIXTYPE = MACOSX SYSLIB += -liconv -rdynamic + RPATH = macos endif #Path for Linux