summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-03 13:53:05 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-03 13:53:05 +0000
commit1c3baa7191e5598c9ea082ba2f1d827559909e67 (patch)
treefda07497530c89737a6f5beb836fd8845b7d4029 /Makefile.am
parent2b5e4d68ed1e45b3732e53ee382161c8150dddce (diff)
downloadrsyslog-1c3baa7191e5598c9ea082ba2f1d827559909e67.tar.gz
rsyslog-1c3baa7191e5598c9ea082ba2f1d827559909e67.tar.xz
rsyslog-1c3baa7191e5598c9ea082ba2f1d827559909e67.zip
added Bartosz Kuzma patches for better compatibility with NetBSD - many
thanks for them!
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c49deeeb..d4cf4bd8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,7 +63,10 @@ rsyslogd_SOURCES = \
gss-misc.h
rsyslogd_CPPFLAGS = -D_PATH_MODDIR=\"$(pkglibdir)/\" $(pthreads_cflags)
-rsyslogd_LDADD = $(zlib_libs) $(pthreads_libs) $(gss_libs) -ldl
+rsyslogd_LDADD = $(zlib_libs) $(pthreads_libs) $(gss_libs)
+if HAVE_LIBDL
+rsyslogd_LDADD += -ldl
+endif
rsyslogd_LDFLAGS = -export-dynamic
man_MANS = rfc3195d.8 rklogd.8 rsyslogd.8 rsyslog.conf.5