From 6dcc8c48bb372ad372ffb1848bd24c6b416fd16e Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 13 Feb 2014 18:56:35 +0100 Subject: Replace some LDADD references to use $(top_builddir) for distcheck --- src/Makefile.am | 2 +- test/Makefile.am | 4 ++-- tools/Makefile.am | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index cbb9b87..eec2c24 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,7 +15,7 @@ libplist_la_SOURCES = base64.c base64.h \ plist.c plist.h \ common.h -libplist___la_LIBADD = libplist.la +libplist___la_LIBADD = $(top_builddir)/src/libplist.la libplist___la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined libplist___la_SOURCES = Node.cpp \ Structure.cpp \ diff --git a/test/Makefile.am b/test/Makefile.am index d508380..e9ed289 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -4,10 +4,10 @@ AM_LDFLAGS = noinst_PROGRAMS = plist_cmp plist_test plist_cmp_SOURCES = plist_cmp.c -plist_cmp_LDADD = ../src/libplist.la +plist_cmp_LDADD = $(top_builddir)/src/libplist.la plist_test_SOURCES = plist_test.c -plist_test_LDADD = ../src/libplist.la +plist_test_LDADD = $(top_builddir)/src/libplist.la TESTS = \ empty.test \ diff --git a/tools/Makefile.am b/tools/Makefile.am index a50f819..30964be 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -4,4 +4,4 @@ AM_LDFLAGS = bin_PROGRAMS = plistutil plistutil_SOURCES = plistutil.c plistutil.h -plistutil_LDADD = ../src/libplist.la +plistutil_LDADD = $(top_builddir)/src/libplist.la -- cgit v1.1-32-gdbae