summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-02-13 18:56:35 +0100
committerGravatar Martin Szulecki2014-02-13 18:56:35 +0100
commit6dcc8c48bb372ad372ffb1848bd24c6b416fd16e (patch)
tree171a0da4160367c949baa7887e18f413e54ef359
parent8867ee930606a2d9126b742b1c5ad7a8fa425190 (diff)
downloadlibplist-6dcc8c48bb372ad372ffb1848bd24c6b416fd16e.tar.gz
libplist-6dcc8c48bb372ad372ffb1848bd24c6b416fd16e.tar.bz2
Replace some LDADD references to use $(top_builddir) for distcheck
-rw-r--r--src/Makefile.am2
-rw-r--r--test/Makefile.am4
-rw-r--r--tools/Makefile.am2
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