diff options
author | NIIBE Yutaka <[email protected]> | 2020-03-27 07:24:13 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2020-03-27 07:24:13 +0000 |
commit | 71ef398bfd72d505290376d82575eb4f3aece035 (patch) | |
tree | 0ecf62c5cdd1930e1ba17c83ddd121cff80bb53e | |
parent | core: New context flags "include-key-block" and "auto-key-import". (diff) | |
download | gpgme-71ef398bfd72d505290376d82575eb4f3aece035.tar.gz gpgme-71ef398bfd72d505290376d82575eb4f3aece035.zip |
build: Fix library dependency.
* src/Makefile.am (gpgme_tool_LDADD): Add @GPG_ERROR_LIBS@.
--
Since gpgme-tool uses gpg_strerror, it should be linked
to -lgpg-error.
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d85a85c9..187decaf 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -102,7 +102,7 @@ endif AM_CFLAGS = @LIBASSUAN_CFLAGS@ @GLIB_CFLAGS@ gpgme_tool_SOURCES = gpgme-tool.c argparse.c argparse.h -gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@ +gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@ gpgme_json_SOURCES = gpgme-json.c cJSON.c cJSON.h gpgme_json_LDADD = -lm libgpgme.la $(GPG_ERROR_LIBS) |