[ovs-dev] [PATCH] OVN: Fix build when using a separate build directory.

Mark Michelson mmichels at redhat.com
Fri Apr 26 16:14:06 UTC 2019


The linker was searching for built libraries in the source directory
rather than in the build directory. This fixes the problem.

Reported-by: Numan Siddique <numans at redhat.com>
Signed-off-by: Mark Michelson <mmichels at redhat.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index e23df2647..0033d7fdc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,8 +77,8 @@ AC_SUBST([LT_AGE])
 
 AC_SUBST([ovs_srcdir], ['${top_srcdir}/ovs'])
 AC_SUBST([ovs_builddir], ['${top_builddir}/ovs'])
-AC_SUBST([ovs_libdir], ['${top_srcdir}/ovs/lib'])
-AC_SUBST([ovsdb_libdir], ['${top_srcdir}/ovs/ovsdb'])
+AC_SUBST([ovs_libdir], ['${top_builddir}/ovs/lib'])
+AC_SUBST([ovsdb_libdir], ['${top_builddir}/ovs/ovsdb'])
 AC_SUBST([ovs_mandir], ['${top_srcdir}/ovs/'])
 
 AC_SEARCH_LIBS([pow], [m])
-- 
2.14.5



More information about the dev mailing list