diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 85dbeef28f..c178c2de8d 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Jean-Baptiste Note ;;; Copyright © 2020 Michael Rohleder +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -381,8 +382,17 @@ (define-public libpwquality "13hw532fmzc5xjpy75d74rlfdlxf2a8ibb4hyy9c0s92wsgf0qsj")))) (build-system gnu-build-system) (arguments - ;; XXX: have RUNPATH issue. - '(#:configure-flags '("--disable-python-bindings"))) + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'set-LDFLAGS + (lambda* (#:key inputs outputs #:allow-other-keys) + (setenv "LDFLAGS" + (string-append + "-Wl,-rpath=" + (assoc-ref outputs "out") "/lib")) + #t))))) + (native-inputs + `(("python" ,python-wrapper))) (inputs `(("cracklib" ,cracklib))) (synopsis "Password quality checker")