mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-19 18:03:50 +00: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:
parent
f1c4416e20
commit
0afac59018
@ -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 = \
|
|||||||
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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user