diff options
author | Andrés M <andmarti1424@users.noreply.github.com> | 2018-07-16 15:41:39 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 15:41:39 -0300 |
commit | 8d835aba0ca38182d7ef3d940b6fe653a6c74b59 (patch) | |
tree | ef38215c4624b9a417805977f12b06880f6ff32e /src/Makefile | |
parent | ab2eadeb05438676e961bb77fb6d22efc22e7769 (diff) | |
parent | e2aa6f8bf79aef60e7b724100448e01506cfefc0 (diff) |
Merge pull request #268 from sjmulder/link-ncurses
Link ncursesw by default if not using pkg-config
Diffstat (limited to 'src/Makefile')
-rwxr-xr-x | src/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 652dc6a..e42ce58 100755 --- a/src/Makefile +++ b/src/Makefile @@ -143,6 +143,8 @@ else ifeq ($(shell uname -s),NetBSD) LDFLAGS += -Wl,-R/usr/pkg/lib LDLIBS += -lncursesw +else + LDFLAGS += -lncursesw endif OBJS = $(patsubst %.c, %.o, $(wildcard *.c) $(wildcard utils/*.c)) gram.o |