Do not compile/link snprintf.o if it is not needed
This commit is contained in:
@@ -52,7 +52,6 @@ libstrophe_la_SOURCES = \
|
||||
src/sha1.c \
|
||||
src/sha256.c \
|
||||
src/sha512.c \
|
||||
src/snprintf.c \
|
||||
src/sock.c \
|
||||
src/stanza.c \
|
||||
src/tls.c \
|
||||
@@ -76,6 +75,10 @@ libstrophe_la_SOURCES += \
|
||||
src/tls.h \
|
||||
src/util.h
|
||||
|
||||
if NEED_SNPRINTF
|
||||
libstrophe_la_SOURCES += src/snprintf.c
|
||||
endif
|
||||
|
||||
if DISABLE_TLS
|
||||
libstrophe_la_SOURCES += src/tls_dummy.c
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user