aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-25 23:44:28 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-25 23:44:28 +0530
commit3fd9e6ace7ca8007893e73c37a6a52da2fcf0bff (patch)
tree4277c13d83c4723ec21d0e173d64a4b330c94dfa /Makefile
parentbc177fd2661f9e92672c424ef8b1a5eb21f1b975 (diff)
downloadnnn-3fd9e6ace7ca8007893e73c37a6a52da2fcf0bff.tar.gz
Add -DNORL when var O_STATIC is set
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0f64d45..6043572 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,8 @@ endif
ifeq ($(O_NORL),1)
CPPFLAGS += -DNORL
+else ifeq ($(O_STATIC),1)
+ CPPFLAGS += -DNORL
else
LDLIBS += -lreadline
endif