aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cvsignore1
-rw-r--r--configure.in1
-rw-r--r--lib/Makefile.am4
3 files changed, 5 insertions, 1 deletions
diff --git a/.cvsignore b/.cvsignore
index 54084f13..f2464d45 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -13,3 +13,4 @@ autom4te-*.cache
install-sh
mkinstalldirs
missing
+depcomp
diff --git a/configure.in b/configure.in
index d6ef7d47..ec3606e1 100644
--- a/configure.in
+++ b/configure.in
@@ -1451,6 +1451,7 @@ AC_TRY_COMPILE([#ifdef __STDC__
[NEED_VA_LIST=-DNEED_VA_LIST AC_SUBST(NEED_VA_LIST) AC_MSG_RESULT(no)])
AC_SUBST(EXTRAS)
+AC_SUBST(LIBOBJS)
AC_SUBST(DEPLIBS)
AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"${VERSION}",[package version])
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 846eeae9..b24bc407 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -4,7 +4,9 @@ noinst_LIBRARIES = libnagiosplug.a
noinst_HEADERS = getopt.h getaddrinfo.h gethostbyname.h
-libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c snprintf.c
+libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c snprintf.c
+
+libnagiosplug_a_DEPENDENCIES = @LIBOBJS@
INCLUDES = -I$(srcdir)