diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-10 23:25:41 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-10 23:25:41 +0100 |
commit | f8b2c6f5ac58260a40eac55282aad7a4aef0b496 (patch) | |
tree | e0573706c258d1a60c4cdc2a3b4aa1bed8e09252 /src | |
parent | 3bba89192760c642d2ab900dadfe57fb871d551b (diff) | |
download | weechat-f8b2c6f5ac58260a40eac55282aad7a4aef0b496.zip |
xfer: add gcrypt library for link of plugin
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/xfer/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/plugins/xfer/Makefile.am | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/xfer/CMakeLists.txt b/src/plugins/xfer/CMakeLists.txt index a5491212e..bd07db390 100644 --- a/src/plugins/xfer/CMakeLists.txt +++ b/src/plugins/xfer/CMakeLists.txt @@ -31,6 +31,10 @@ xfer-network.c xfer-network.h xfer-upgrade.c xfer-upgrade.h) SET_TARGET_PROPERTIES(xfer PROPERTIES PREFIX "") -TARGET_LINK_LIBRARIES(xfer) +SET (LINK_LIBS) + +LIST(APPEND LINK_LIBS ${GCRYPT_LDFLAGS}) + +TARGET_LINK_LIBRARIES(xfer ${LINK_LIBS}) INSTALL(TARGETS xfer LIBRARY DESTINATION ${LIBDIR}/plugins) diff --git a/src/plugins/xfer/Makefile.am b/src/plugins/xfer/Makefile.am index ae3e7f657..7d4da540d 100644 --- a/src/plugins/xfer/Makefile.am +++ b/src/plugins/xfer/Makefile.am @@ -17,7 +17,7 @@ # along with WeeChat. If not, see <http://www.gnu.org/licenses/>. # -AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" +AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(GCRYPT_CFLAGS) libdir = ${weechat_libdir}/plugins @@ -47,6 +47,6 @@ xfer_la_SOURCES = xfer.c \ xfer-upgrade.h xfer_la_LDFLAGS = -module -no-undefined -xfer_la_LIBADD = $(XFER_LFLAGS) +xfer_la_LIBADD = $(XFER_LFLAGS) $(GCRYPT_LFLAGS) EXTRA_DIST = CMakeLists.txt |