0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Problem: empty files are against ISO C++

Solution: if not building with tweetnacl, do not include its sources
in Makefile.am. CMake already includes them optionally.
This commit is contained in:
Luca Boccassi 2016-02-11 20:58:54 +00:00
parent f1c4416e20
commit 0afac59018

View File

@ -192,8 +192,6 @@ src_libzmq_la_SOURCES = \
src/tipc_listener.hpp \
src/trie.cpp \
src/trie.hpp \
src/tweetnacl.c \
src/tweetnacl.h \
src/udp_address.cpp \
src/udp_address.hpp \
src/udp_engine.cpp \
@ -232,6 +230,12 @@ src_libzmq_la_SOURCES = \
src/socket_poller.hpp \
src/socket_poller.cpp
if USE_TWEETNACL
src_libzmq_la_SOURCES += \
src/tweetnacl.c \
src/tweetnacl.h
endif
if ON_MINGW
src_libzmq_la_LDFLAGS = \
-no-undefined \