Subject: [bug#78604] [PATCH v2 2/2] gnu: signond: Fix finding libraries.

From: Sughosha <[email-masked]>
Date: Wed, 28 May 2025 17:30:15 +0530

* gnu/packages/qt.scm (signond)[arguments]<#:phases>: In configure phase,
add "QMAKE_LFLAGS_RPATH" variable.

Change-Id: I9cba96e86ee7fe662570a25fe71eddd7af2d22d5
---
 gnu/packages/qt.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 0bd262341f3..850e8a25144 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -5913,7 +5913,9 @@ (define-public signond
                                      #$output "/lib/signon")))
                    (invoke "qmake"
                            (string-append "PREFIX=" #$output)
-                           (string-append "LIBDIR=" #$output "/lib")))))))
+                           (string-append "LIBDIR=" #$output "/lib")
+                           (string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath,"
+                                          #$output "/lib -Wl,-rpath,")))))))
     (home-page "https://accounts-sso.gitlab.io/signond/index.html")
     (synopsis "Perform user authentication over D-Bus")
     (description "This package provides a D-Bus service which performs user
-- 
2.49.0