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>
This commit is contained in:
Thomas Haller 2013-12-16 21:19:14 +01:00
parent d7aca17701
commit 02c9c2518f

View file

@ -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