mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-01 11:27:40 +08:00
fixed one compiling error.
This commit is contained in:
parent
768210296c
commit
4593716823
@ -41,7 +41,7 @@ endif
|
|||||||
ifeq ($(findstring FreeBSD, $(OSNAME)), FreeBSD)
|
ifeq ($(findstring FreeBSD, $(OSNAME)), FreeBSD)
|
||||||
CFLAGS += -DFREEBSD
|
CFLAGS += -DFREEBSD
|
||||||
SYSLIB = -lcrypt -lpthread -rdynamic
|
SYSLIB = -lcrypt -lpthread -rdynamic
|
||||||
LDFLAGS = -R$(BASE_PATH) -L$(BASE_PATH) -l_acl \
|
LDFLAGS = -R$(BASE_PATH) -L$(BASE_PATH) -lacl \
|
||||||
$(EXTLIBS) $(SYSLIB)
|
$(EXTLIBS) $(SYSLIB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ ifeq ($(findstring Darwin, $(UNIXNAME)), Darwin)
|
|||||||
-Wno-extended-offsetof
|
-Wno-extended-offsetof
|
||||||
SYSLIB += -rdynamic
|
SYSLIB += -rdynamic
|
||||||
UNIXTYPE = MACOSX
|
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)
|
$(EXTLIBS) $(SYSLIB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user