smstoold: only define USE_ICONV if it is enabled

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2016-05-30 16:29:37 +02:00
parent 6e1b4932a1
commit 48eab4d7c8
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ define Package/smstools3/description
endef
TARGET_CFLAGS += -D NUMBER_OF_MODEMS=1
TARGET_CFLAGS += -D USE_ICONV
TARGET_CFLAGS += $(if $(ICONV_FULL),-D USE_ICONV)
TARGET_CFLAGS += -D DISABLE_INET_SOCKET
TARGET_CFLAGS += -W -Wall
TARGET_CFLAGS += -D_FILE_OFFSET_BITS=64