Fix warning on macOS
This commit is contained in:
parent
5f4df123b4
commit
e3b508536d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ INC+=$(shell pkg-config --cflags libedit)
|
||||||
# LLVM/Clang on macOS seems to need -ledit flag for linking
|
# LLVM/Clang on macOS seems to need -ledit flag for linking
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
CCFLAGS += -ledit
|
LIBS += -ledit
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJS=main.o init.o actions.o score.o misc.o saveresume.o
|
OBJS=main.o init.o actions.o score.o misc.o saveresume.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue