Files
strongswan-ext/src/libfast/Makefile.am
T
Tobias Brunner 9af44ef5d9 Build all shared libraries with -no-undefined and link them properly
The flag is required to convince libtool on Cygwin to build DLLs. But on
Windows these shared libraries can not have undefined symbols, so we have to
link them explicitly to the libraries they reference.

For plugins this is currently not done, so only the monolithic build is
supported.  The plugin loader wouldn't be able to load DLLs anyway, as
it tries to load files that don't exist on Cygwin.
2013-09-12 01:44:49 +02:00

26 lines
584 B
Makefile

AM_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan \
-I/usr/include/ClearSilver
AM_CFLAGS = \
-rdynamic
AM_LDFLAGS = \
-no-undefined
ipseclib_LTLIBRARIES = libfast.la
libfast_la_SOURCES = \
fast_dispatcher.c fast_request.c fast_session.c fast_smtp.c
if USE_DEV_HEADERS
fast_includedir = ${dev_headers}/fast
nobase_fast_include_HEADERS = \
fast_context.h fast_controller.h fast_dispatcher.h fast_filter.h \
fast_request.h fast_session.h fast_smtp.h
endif
libfast_la_LIBADD = \
$(top_builddir)/src/libstrongswan/libstrongswan.la \
-lfcgi $(clearsilver_LIBS) $(PTHREADLIB)