gnu: libtocc: Help the tests find libtocc.so.

* gnu/packages/search.scm (libtocc)[arguments] <check>: Pass
  -Wl,-rpath=../src/.libs for the tests.
This commit is contained in:
Ludovic Courtès 2015-04-14 09:54:35 +02:00
parent 4836989a69
commit e91d1d3133
1 changed files with 3 additions and 1 deletions

View File

@ -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/")