@@ -41,7 +41,7 @@
endif
- ifeq ($(O_PCRE),1)
+ ifeq ($(strip $(O_PCRE)),1)
- CPPFLAGS += -DPCRE
+ override CPPFLAGS += -DPCRE
LDLIBS += -lpcre
@@ -62,7 +62,7 @@
endif
- ifeq ($(O_CTX8),1)
+ ifeq ($(strip $(O_CTX8)),1)
- CPPFLAGS += -DCTX8
+ override CPPFLAGS += -DCTX8
endif
- ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
+ ifeq ($(strip $(O_ICONS)),1)
@@ -75,9 +75,9 @@
LDLIBS_CURSES ?= -lncurses
endif