From 02c9c2518fb575594a00a6d6f42c0b93d8f93c84 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 16 Dec 2013 21:19:14 +0100 Subject: [PATCH] build: fix build failure when using different build dir (make distcheck) `make distcheck` builds outside the source directory using `../configure --srcdir=..`. This was broken because libnl.sym was expected in the $(top_srcdir) instead of $(top_builddir). Signed-off-by: Thomas Haller --- lib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index f96fc273e..4a1e8d993 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -11,7 +11,7 @@ AM_CPPFLAGS = \ AM_LDFLAGS = \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ - -Wl,--version-script=$(top_srcdir)/libnl.sym + -Wl,--version-script=$(top_builddir)/libnl.sym lib_LTLIBRARIES = \ libnl-3.la libnl-genl-3.la libnl-route-3.la libnl-nf-3.la libnl-idiag-3.la