Skip to content

Commit

Permalink
dev-lang/cxprolog: specify prolog.java location for unit tests
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.4, Repoman-2.3.22
Signed-off-by: Keri Harris <[email protected]>
  • Loading branch information
keriharris committed Sep 21, 2020
1 parent 27aab46 commit b29fd38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev-lang/cxprolog/cxprolog-0.98.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ src_compile() {
cxprolog_src_test() {
cd "${S}"/pl

if use java; then
local test_javadir="${S}"/pl/$(get_libdir)/cxprolog/java
mkdir -p "${test_javadir}" || die
ln -s "${S}"/dist/prolog.jar "${test_javadir}"/prolog.jar || die
fi

LD_LIBRARY_PATH="${S}" \
"${S}"/cxprolog_shared \
--boot "${S}"/cx_dev_boot.pl \
Expand Down

0 comments on commit b29fd38

Please sign in to comment.