smstoold: only define USE_ICONV if it is enabled
authorJohn Crispin <redacted>
Mon, 30 May 2016 14:29:37 +0000 (16:29 +0200)
committerJohn Crispin <redacted>
Mon, 30 May 2016 14:29:37 +0000 (16:29 +0200)
Signed-off-by: John Crispin <redacted>
utils/smstools3/Makefile

index 06208714651cc0cf46961688e75baabae711457a..9df7698e79971514032e5aa29e1e2e7ae6cfb959 100644 (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
git clone https://git.99rst.org/PROJECT