]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Allow building vbit_test when srdir != builddir.
authorMark Wielaard <mark@klomp.org>
Fri, 26 Aug 2016 13:10:14 +0000 (13:10 +0000)
committerMark Wielaard <mark@klomp.org>
Fri, 26 Aug 2016 13:10:14 +0000 (13:10 +0000)
Link against libvex-<arch>-<os>.a in top_builddir.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15940

memcheck/tests/vbit-test/Makefile.am

index e327a2ac514ec14cb69770ea18ab470d30e162c5..c2fe77f953e4390824b9dc5892142e58ba5278cc 100644 (file)
@@ -39,5 +39,5 @@ vbit_test_CPPFLAGS     = $(AM_CPPFLAGS_PRI) \
                          -I$(top_srcdir)/VEX/pub
 vbit_test_CFLAGS       = $(AM_CFLAGS_PRI) -std=c99
 vbit_test_DEPENDENCIES = 
-vbit_test_LDADD        = $(top_srcdir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
+vbit_test_LDADD        = $(top_builddir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
 vbit_test_LDFLAGS      = $(AM_CFLAGS_PRI) -std=c99 @LIB_UBSAN@