summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/cxprolog')
-rw-r--r--dev-lang/cxprolog/cxprolog-0.98.2.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-lang/cxprolog/cxprolog-0.98.2.ebuild b/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
index d1b773c84e5..a89a12f52e4 100644
--- a/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
+++ b/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
@@ -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 \