diff mbox

[2/2] gnu: gnupg: libpcsclite propagated input

Message ID 87e5e49c8e2c6cc94e762a29b1b14fdf9cdaaec8.1477153372.git.mtg@gnu.org
State New
Headers show

Commit Message

Mike Gerwitz Oct. 22, 2016, 4:24 p.m. UTC
* gnu/packages/gnupg.scm (gnupg): Add libpcsclite as propagated-input
---
 gnu/packages/gnupg.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index c4920b0..562b377 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -296,8 +296,14 @@  compatible to GNU Pth.")
        ("readline" ,readline)
        ("sqlite" ,sqlite)
        ("zlib" ,zlib)))
+    (propagated-inputs
+     `(("libpcsclite" ,libpcsclite)))
    (arguments
-    `(#:configure-flags '("--enable-gpg2-is-gpg")
+    `(#:configure-flags
+      (list "--enable-gpg2-is-gpg"
+            (string-append "LDFLAGS=-Wl,-rpath="
+                           (assoc-ref %build-inputs "libpcsclite")
+                           "/lib"))
       #:phases
       (modify-phases %standard-phases
         (add-before 'configure 'patch-config-files