usertools: Fixed issue making rscryutil (usertools enabled)

The problem was introduced due the changes of this commit:
fb4fd2ddd2

Removing librsyslog.a from the rscryutil_LDFLAGS solved the problem.
closes https://github.com/rsyslog/rsyslog/issues/447
This commit is contained in:
Andre Lorbach 2015-07-16 03:22:38 -07:00
parent be940cf970
commit f3be77720a

View File

@ -100,7 +100,7 @@ rscryutil = rscryutil.c
rscryutil_CPPFLAGS = -I../runtime $(RSRT_CFLAGS) $(LIBGCRYPT_CFLAGS)
rscryutil_LDADD = ../runtime/libgcry.la $(LIBGCRYPT_LIBS)
rscryutil_LDFLAGS = \
-Wl,--whole-archive,$(top_builddir)/runtime/.libs/librsyslog.a,--no-whole-archive
-Wl,--whole-archive,--no-whole-archive
rscryutil.1: rscryutil.rst
$(AM_V_GEN) $(RST2MAN) $< $@
man1_MANS += rscryutil.1