Przeglądaj źródła

Makefile: use libncurses instead of libncursesw on Darwin

macOS 10.12.4 and many earlier versions have libncurses 5.4 with wide character
support, but not libncursesw.
master
Zhiming Wang Arun Prakash Jana 8 lat temu
rodzic
commit
afa0540934
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: A75979F35C080412
2 zmienionych plików z 10 dodań i 2 usunięć
  1. +5
    -1
      Makefile
  2. +5
    -1
      Makefile.generic

+ 5
- 1
Makefile Wyświetl plik

@@ -4,7 +4,11 @@ PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man

CFLAGS += -O3 -march=native -Wall -Wextra -Wno-unused-parameter
LDLIBS = -lncursesw
ifeq ($(shell uname), Darwin)
LDLIBS = -lncurses
else
LDLIBS = -lncursesw
endif

DISTFILES = nnn.c config.def.h nnn.1 Makefile README.md LICENSE
LOCALCONFIG = config.h


+ 5
- 1
Makefile.generic Wyświetl plik

@@ -4,7 +4,11 @@ PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man

CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter
LDLIBS = -lncursesw
ifeq ($(shell uname), Darwin)
LDLIBS = -lncurses
else
LDLIBS = -lncursesw
endif

DISTFILES = nnn.c config.def.h nnn.1 Makefile README.md LICENSE
LOCALCONFIG = config.h


Ładowanie…
Anuluj
Zapisz