Permalink
Browse files

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 <thaller@redhat.com>
  • Loading branch information...
1 parent d7aca17 commit 02c9c2518fb575594a00a6d6f42c0b93d8f93c84 @thom311 committed Dec 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Makefile.am
View
@@ -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

0 comments on commit 02c9c25

Please sign in to comment.