fixed one compiling error.

This commit is contained in:
zhengshuxin 2017-03-25 23:42:44 +08:00
parent 768210296c
commit 4593716823

View File

@ -41,7 +41,7 @@ endif
ifeq ($(findstring FreeBSD, $(OSNAME)), FreeBSD)
CFLAGS += -DFREEBSD
SYSLIB = -lcrypt -lpthread -rdynamic
LDFLAGS = -R$(BASE_PATH) -L$(BASE_PATH) -l_acl \
LDFLAGS = -R$(BASE_PATH) -L$(BASE_PATH) -lacl \
$(EXTLIBS) $(SYSLIB)
endif
@ -51,7 +51,7 @@ ifeq ($(findstring Darwin, $(UNIXNAME)), Darwin)
-Wno-extended-offsetof
SYSLIB += -rdynamic
UNIXTYPE = MACOSX
LDFLAGS = -Wl,-rpath,$(BASE_PATH) -R$(BASE_PATH) -L$(BASE_PATH) -l_acl \
LDFLAGS = -Wl,-rpath,$(BASE_PATH) -R$(BASE_PATH) -L$(BASE_PATH) -lacl \
$(EXTLIBS) $(SYSLIB)
endif