]> Sergey Matveev's repositories - nnn.git/commitdiff
Ignore NOLC when ICONS/NERD are set (#1027)
authorluukvbaal <31730729+luukvbaal@users.noreply.github.com>
Wed, 26 May 2021 18:17:38 +0000 (20:17 +0200)
committerGitHub <noreply@github.com>
Wed, 26 May 2021 18:17:38 +0000 (23:47 +0530)
Makefile

index 7188c2fe63364cd27720e45b4d16e2e1ded17eb6..994fc09af79557e080e1ba7923b07d87a6573ac8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,13 @@ ifeq ($(strip $(O_PCRE)),1)
 endif
 
 ifeq ($(strip $(O_NOLC)),1)
-       CPPFLAGS += -DNOLC
+       ifeq ($(strip $(O_ICONS)),1)
+$(info *** Ignoring O_NOLC since O_ICONS is set ***)
+       else ifeq ($(strip $(O_NERD)),1)
+$(info *** Ignoring O_NOLC since O_NERD is set ***)
+       else
+               CPPFLAGS += -DNOLC
+       endif
 endif
 
 ifeq ($(strip $(O_NOMOUSE)),1)