diff --git a/compat/Makefile.am b/compat/Makefile.am index 8697638..e7387dd 100644 --- a/compat/Makefile.am +++ b/compat/Makefile.am @@ -6,7 +6,9 @@ noinst_LTLIBRARIES = libcompat.la libcompatnoopt.la libcompatnoopt_la_CFLAGS = -O0 libcompatnoopt_la_SOURCES = +# other compatibility functions libcompat_la_SOURCES = +libcompat_la_LIBADD = $(PLATFORM_LDADD) if !HAVE_STRLCPY libcompat_la_SOURCES += strlcpy.c