relay: add missing gcrypt lib in CMake and autotools files
This fixes build on Cygwin.master
parent
0c7d7c3fdc
commit
8560b09dad
|
@ -50,6 +50,8 @@ if(GNUTLS_FOUND)
|
||||||
list(APPEND LINK_LIBS ${GNUTLS_LIBRARY})
|
list(APPEND LINK_LIBS ${GNUTLS_LIBRARY})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS})
|
||||||
|
|
||||||
target_link_libraries(relay ${LINK_LIBS} coverage_config)
|
target_link_libraries(relay ${LINK_LIBS} coverage_config)
|
||||||
|
|
||||||
install(TARGETS relay LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins)
|
install(TARGETS relay LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins)
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(ZLIB_CFLAGS) $(GNUTLS_CFLAGS)
|
AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(ZLIB_CFLAGS) $(GCRYPT_CFLAGS) $(GNUTLS_CFLAGS)
|
||||||
|
|
||||||
libdir = ${weechat_libdir}/plugins
|
libdir = ${weechat_libdir}/plugins
|
||||||
|
|
||||||
|
@ -61,6 +61,6 @@ relay_la_SOURCES = relay.c \
|
||||||
weechat/relay-weechat-protocol.h
|
weechat/relay-weechat-protocol.h
|
||||||
|
|
||||||
relay_la_LDFLAGS = -module -no-undefined
|
relay_la_LDFLAGS = -module -no-undefined
|
||||||
relay_la_LIBADD = $(RELAY_LFLAGS) $(ZLIB_LFLAGS) $(GNUTLS_LFLAGS)
|
relay_la_LIBADD = $(RELAY_LFLAGS) $(ZLIB_LFLAGS) $(GCRYPT_LFLAGS) $(GNUTLS_LFLAGS)
|
||||||
|
|
||||||
EXTRA_DIST = CMakeLists.txt
|
EXTRA_DIST = CMakeLists.txt
|
||||||
|
|
Loading…
Reference in New Issue