Add -DNORL when var O_STATIC is set

This commit is contained in:
Arun Prakash Jana 2020-01-25 23:44:28 +05:30
parent bc177fd266
commit 3fd9e6ace7
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -33,6 +33,8 @@ endif
ifeq ($(O_NORL),1) ifeq ($(O_NORL),1)
CPPFLAGS += -DNORL CPPFLAGS += -DNORL
else ifeq ($(O_STATIC),1)
CPPFLAGS += -DNORL
else else
LDLIBS += -lreadline LDLIBS += -lreadline
endif endif