Skip to content

Commit

Permalink
build: fix build failure when using different build dir (make distcheck)
Browse files Browse the repository at this point in the history
`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
thom311 committed Dec 17, 2013
1 parent d7aca17 commit 02c9c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Makefile.am
Expand Up @@ -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
Expand Down

0 comments on commit 02c9c25

Please sign in to comment.