diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index 4a4ad20759..5886c6a9ea 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -88,7 +88,9 @@ rich set of boolean query operators.") (string-append "SHELL=" (which "sh")) "CPPFLAGS=-I../src" - "LDFLAGS=-L../src/.libs")) + (string-append + "LDFLAGS=-L../src/.libs " + "-Wl,-rpath=../src/.libs"))) (zero? (system* "make")) (zero? (system* "./libtocctests"))))))))) (home-page "http://t-o-c-c.com/")