diff options
Diffstat (limited to 'plugins/ommysql/Makefile.am')
-rw-r--r-- | plugins/ommysql/Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/ommysql/Makefile.am b/plugins/ommysql/Makefile.am new file mode 100644 index 0000000..7bec7e4 --- /dev/null +++ b/plugins/ommysql/Makefile.am @@ -0,0 +1,16 @@ +pkglib_LTLIBRARIES = ommysql.la + +# under RHEL 7, we have an issue when gnutls is linked. For some reason +# (autoconf magic?) we link ommysql against gnutls. I have not found the +# root cause, but setting LIBS= below makes the problem go away. A better +# solution would be appreciated, but for the time being this seems to +# solve the issue. +# more info: https://github.com/rsyslog/rsyslog/issues/408 +# rgerhards, 2015-07-08 +LIBS= +ommysql_la_SOURCES = ommysql.c +ommysql_la_CPPFLAGS = $(RSRT_CFLAGS) $(MYSQL_CFLAGS) $(PTHREADS_CFLAGS) +ommysql_la_LDFLAGS = -module -avoid-version +ommysql_la_LIBADD = $(MYSQL_LIBS) + +EXTRA_DIST = createDB.sql |