Commit 0afac590 authored by Luca Boccassi's avatar Luca Boccassi

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.
parent f1c4416e
...@@ -192,8 +192,6 @@ src_libzmq_la_SOURCES = \ ...@@ -192,8 +192,6 @@ src_libzmq_la_SOURCES = \
src/tipc_listener.hpp \ src/tipc_listener.hpp \
src/trie.cpp \ src/trie.cpp \
src/trie.hpp \ src/trie.hpp \
src/tweetnacl.c \
src/tweetnacl.h \
src/udp_address.cpp \ src/udp_address.cpp \
src/udp_address.hpp \ src/udp_address.hpp \
src/udp_engine.cpp \ src/udp_engine.cpp \
...@@ -232,6 +230,12 @@ src_libzmq_la_SOURCES = \ ...@@ -232,6 +230,12 @@ src_libzmq_la_SOURCES = \
src/socket_poller.hpp \ src/socket_poller.hpp \
src/socket_poller.cpp src/socket_poller.cpp
if USE_TWEETNACL
src_libzmq_la_SOURCES += \
src/tweetnacl.c \
src/tweetnacl.h
endif
if ON_MINGW if ON_MINGW
src_libzmq_la_LDFLAGS = \ src_libzmq_la_LDFLAGS = \
-no-undefined \ -no-undefined \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment