summaryrefslogtreecommitdiff
path: root/cord
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2021-07-20 09:13:21 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-07-21 20:33:02 +0300
commit8f27cbe1e86f5effbe640fe74214030a58538cdc (patch)
treeadb8dc4cda92ccb0f1ca1b46142139e64bedc0c4 /cord
parent3c8d8fe9134403e2a539b0d6331909b747db5078 (diff)
downloadbdwgc-8f27cbe1e86f5effbe640fe74214030a58538cdc.tar.gz
Fix ./libgc.la dependency on FreeBSD (Automake)
Issue #361 (bdwgc). For some reason, BSD make do not use the Makefile rule to satisfy a dependency on ./libgc.la. Note: this change should not break builds on other targets (e.g. based on GNU make) as $top_builddir should be expanded to ".". * Makefile.am [CPLUSPLUS] (libgccpp_la_LIBADD): Remove "./" prefix. * Makefile.am [CPLUSPLUS && GC_TBA_LIBRARY] (libgctba_la_LIBADD): Likewise. * cord/cord.am (libcord_la_LIBADD): Remove "$(top_builddir)/" prefix.
Diffstat (limited to 'cord')
-rw-r--r--cord/cord.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/cord/cord.am b/cord/cord.am
index c2ea532d..867cea6d 100644
--- a/cord/cord.am
+++ b/cord/cord.am
@@ -7,7 +7,7 @@ LIBCORD_VER_INFO = 5:0:4
lib_LTLIBRARIES += libcord.la
-libcord_la_LIBADD = $(top_builddir)/libgc.la
+libcord_la_LIBADD = libgc.la
libcord_la_LDFLAGS = -version-info $(LIBCORD_VER_INFO) -no-undefined
libcord_la_CPPFLAGS = $(AM_CPPFLAGS)