summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-09-02 09:54:50 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-09-02 14:20:09 (GMT)
commit0099e845ec3624bdcd483dfd30fdccec3e3f6e6c (patch)
tree619aa6424d4f5f7172f055fbcd9985f0f5d82813 /bindings
parent8d4c940ac115424726ef184dbad15f57827f6aa9 (diff)
downloadlasso-0099e845ec3624bdcd483dfd30fdccec3e3f6e6c.zip
lasso-0099e845ec3624bdcd483dfd30fdccec3e3f6e6c.tar.gz
lasso-0099e845ec3624bdcd483dfd30fdccec3e3f6e6c.tar.bz2
java: fix AllJunitTests generation when building out of source directory
Diffstat (limited to 'bindings')
-rw-r--r--bindings/java/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/java/Makefile.am b/bindings/java/Makefile.am
index c915097..05e5f9e 100644
--- a/bindings/java/Makefile.am
+++ b/bindings/java/Makefile.am
@@ -104,7 +104,7 @@ AllJunitTests: JAVAFLAGS +="-Dsrcdir=$(srcdir)"
AllJunitTests: $(test_source_files:.java=.class)
echo "#! /bin/sh" > $@
- echo "OBJDIR=`$(top_srcdir)/libtool --config | grep ^objdir | sed 's/.*=//'`" >> $@
+ echo "OBJDIR=`$(top_builddir)/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 $@