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

View file

@ -88,7 +88,9 @@ (define-public libtocc
(string-append "SHELL=" (string-append "SHELL="
(which "sh")) (which "sh"))
"CPPFLAGS=-I../src" "CPPFLAGS=-I../src"
"LDFLAGS=-L../src/.libs")) (string-append
"LDFLAGS=-L../src/.libs "
"-Wl,-rpath=../src/.libs")))
(zero? (system* "make")) (zero? (system* "make"))
(zero? (system* "./libtocctests"))))))))) (zero? (system* "./libtocctests")))))))))
(home-page "http://t-o-c-c.com/") (home-page "http://t-o-c-c.com/")