[PATCH] build: gpgme-json: install properly
Alon Bar-Lev
alon.barlev at gmail.com
Wed Apr 18 22:55:56 CEST 2018
not installing properly using libtool result in:
* QA Notice: The following files contain insecure RUNPATHs
* Please file a bug about this at https://bugs.gentoo.org/
* with the maintainer of the package.
* /var/tmp/portage/app-crypt/gpgme-1.11.0/image/usr/bin/gpgme-json
* RPATH: /var/tmp/portage/app-crypt/gpgme-1.11.0/work/b/src/.libs
---
src/Makefile.am | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index c2d4a843..3d638b23 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -103,9 +103,7 @@ gpgme_tool_SOURCES = gpgme-tool.c argparse.c argparse.h
gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@
gpgme_json_SOURCES = gpgme-json.c cJSON.c cJSON.h
-gpgme_json_LDADD = -lm libgpgme.la $(GPG_ERROR_LIBS)
-# We use -no-install temporary during development.
-gpgme_json_LDFLAGS = -no-install
+gpgme_json_LDADD = -lm libgpgme.la @GPG_ERROR_LIBS@
if HAVE_W32_SYSTEM
--
2.16.1
More information about the Gnupg-devel
mailing list