Link all enabled libstrongswan plugins into the library, link all enabled charon plugins into libcharon.
This commit is contained in:
@@ -3,7 +3,13 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
||||
|
||||
AM_CFLAGS = -rdynamic
|
||||
|
||||
if MONOLITHIC
|
||||
noinst_LTLIBRARIES = libstrongswan-gmp.la
|
||||
libstrongswan_gmp_la_LIBADD =
|
||||
else
|
||||
plugin_LTLIBRARIES = libstrongswan-gmp.la
|
||||
libstrongswan_gmp_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
|
||||
endif
|
||||
|
||||
libstrongswan_gmp_la_SOURCES = gmp_plugin.h gmp_plugin.c \
|
||||
gmp_diffie_hellman.c gmp_diffie_hellman.h \
|
||||
@@ -11,5 +17,4 @@ libstrongswan_gmp_la_SOURCES = gmp_plugin.h gmp_plugin.c \
|
||||
gmp_rsa_public_key.c gmp_rsa_public_key.h
|
||||
|
||||
libstrongswan_gmp_la_LDFLAGS = -module -avoid-version
|
||||
libstrongswan_gmp_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lgmp
|
||||
|
||||
libstrongswan_gmp_la_LIBADD += -lgmp
|
||||
|
||||
Reference in New Issue
Block a user