summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-14 09:54:35 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-14 10:03:24 +0200
commite91d1d3133fd986c782969a3333bf09c5292b305 (patch)
tree03697792dee4721f98ce3a77104e0f0170cf9a77
parent4836989a69142dda7bc245197008ee7363e5e67a (diff)
downloadguix-e91d1d3133fd986c782969a3333bf09c5292b305.tar.gz
gnu: libtocc: Help the tests find libtocc.so.
* gnu/packages/search.scm (libtocc)[arguments] <check>: Pass
  -Wl,-rpath=../src/.libs for the tests.
-rw-r--r--gnu/packages/search.scm4
1 files changed, 3 insertions, 1 deletions
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/")