--- swig/Makefile.am +++ swig/Makefile.am @@ -27,7 +27,8 @@ LIBS = $(top_builddir)/lib/libaudit.la python_PYTHON = audit.py pyexec_LTLIBRARIES = _audit.la -_audit_la_LDFLAGS = -module -avoid-version +_audit_la_CFLAGS = -shared +_audit_la_LDFLAGS = -module -avoid-version -shared _audit_la_HEADERS: $(top_builddir)/config.h _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la nodist__audit_la_SOURCES = audit_wrap.c