[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] kakasi + perl-kakasi -- dependencies for namazu
From: |
Danny Milosavljevic |
Subject: |
Re: [PATCH] kakasi + perl-kakasi -- dependencies for namazu |
Date: |
Sun, 25 Sep 2016 19:37:40 +0200 |
> > + `(#:tests? #f)) ; Requires kakasi in -lkakasi , fixme.
If you like the easy way, just set the environment variable LIBRARY_PATH (or
LD_LIBRARY_PATH) before running the tests so it finds the library "kakasi".
Something like
(arguments
...
#phases
(modify-phases %standard-phases
(add-before 'check 'check-set-library-path
(lambda x
(setenv "LIBRARY_PATH" (getcwd)) ; or wherever the library is; maybe
extend the existing LIBRARY_PATH instead if needed.
(apply (assoc-ref %standard-phases 'check) x)))
It's not like the tests will be installed or anything...