commit 4f384a352240b06c5526e93dbb799950179543bf
parent dbff705c7e194de62380e21070f789b21a49ffd3
Author: champtar <champetier.etienne@gmail.com>
Date: Sat, 2 Jul 2016 18:53:31 +0200
Merge pull request #2773 from blogic/smstools
smstoold: only define USE_ICONV if it is enabled
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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