mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 07:00:42 +01:00
Shared net_ossl_* functions are not available if loaded dynamically by module in imdtls or omdtls. The incorrect workarround was that I linked lmnsd_ossl.la into omdtls and imdtls. However that breaks make install when DTLS modules are enabled. To fix the problem, all net_ossl_ functions are mapped to the net_ossl interface which is dynamically loaded on runtime. This removes the lmnsd_ossl.la dependency from the omdtls and imdtls makefiles and fixes make install. it also removes this build warning: *** Warning: Linking the shared library omdtls.la against the loadable module *** lmnsd_ossl.so is not portable! closes: https://github.com/rsyslog/rsyslog/issues/5340
7 lines
253 B
Makefile
7 lines
253 B
Makefile
pkglib_LTLIBRARIES = imdtls.la
|
|
imdtls_la_DEPENDENCIES =
|
|
imdtls_la_SOURCES = imdtls.c
|
|
imdtls_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) $(OPENSSL_CFLAGS)
|
|
imdtls_la_LDFLAGS = -module -avoid-version
|
|
imdtls_la_LIBADD = $(OPENSSL_LIBS)
|