summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-08-24 14:18:33 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-08-24 14:18:33 (GMT)
commit83f6319c01ef633fe17625d9ec8d15f1f9dbfc36 (patch)
tree3079b1b8889d0f0e6768903efdaa2350da28bb71 /bindings
parent964530aacaa272ecf4aad72494b574f4ab3c26c3 (diff)
downloadlasso-83f6319c01ef633fe17625d9ec8d15f1f9dbfc36.zip
lasso-83f6319c01ef633fe17625d9ec8d15f1f9dbfc36.tar.gz
lasso-83f6319c01ef633fe17625d9ec8d15f1f9dbfc36.tar.bz2
bindings/java: fix test script generation
Diffstat (limited to 'bindings')
-rw-r--r--bindings/java/Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/bindings/java/Makefile.am b/bindings/java/Makefile.am
index ac46eda..c915097 100644
--- a/bindings/java/Makefile.am
+++ b/bindings/java/Makefile.am
@@ -103,11 +103,8 @@ TESTS = AllJunitTests
AllJunitTests: JAVAFLAGS +="-Dsrcdir=$(srcdir)"
AllJunitTests: $(test_source_files:.java=.class)
- echo "OBJDIR=`libtool --config | grep ^objdir | sed 's/.*=//'`"
echo "#! /bin/sh" > $@
- echo "OBJDIR=`libtool --config | grep ^objdir | sed 's/.*=//'`" >> $@
- cat $@
- echo $@
+ echo "OBJDIR=`$(top_srcdir)/libtool --config | grep ^objdir | sed 's/.*=//'`" >> $@
echo 'LD_LIBRARY_PATH=$$OBJDIR DYLD_LIBRARY_PATH=$$OBJDIR @JUNIT@ -Djava.library.path=$$OBJDIR BindingTests' >> $@
echo 'LD_LIBRARY_PATH=$$OBJDIR DYLD_LIBRARY_PATH=$$OBJDIR @JUNIT@ -Djava.library.path=$$OBJDIR LoginTest' >> $@
chmod +x $@