From 48eab4d7c8e48873af1b728291e4c74f6e33d5be Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 30 May 2016 16:29:37 +0200 Subject: [PATCH] smstoold: only define USE_ICONV if it is enabled Signed-off-by: John Crispin --- utils/smstools3/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/smstools3/Makefile b/utils/smstools3/Makefile index 062087146..9df7698e7 100644 --- a/utils/smstools3/Makefile +++ b/utils/smstools3/Makefile @@ -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