blob: 7bec7e4851efc83461f8d9fdfdd55e061aa8a9e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
|