From a80e3d381c1629adaa219fac4fc14e4c940fde7c Mon Sep 17 00:00:00 2001 From: Karl-Heinz Zimmer Date: Wed, 21 Nov 2001 23:20:49 +0000 Subject: [PATCH] change Makefile to create shared lib --- gpgmeplug/Makefile.am | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gpgmeplug/Makefile.am b/gpgmeplug/Makefile.am index 5db16cb..81db784 100644 --- a/gpgmeplug/Makefile.am +++ b/gpgmeplug/Makefile.am @@ -26,15 +26,20 @@ INCLUDES = -I.. -I../gpgme -I$(top_srcdir)/include -LDADD = ../gpgme/libgpgme.la +#LDADD = ../gpgme/libgpgme.la +libgpgmeplug_la_LIBADD = ../gpgme/libgpgme.la BUILT_SOURCES = -noinst_LIBRARIES = libgpgmeplug.a +#noinst_LIBRARIES = libgpgmeplug.a +#noinst_LTLIBRARIES = libgpgmeplug.la +lib_LTLIBRARIES = libgpgmeplug.la -#libgpgmeplug_a_LDFLAGS = -libgpgmeplug_a_SOURCES = gpgme.h \ + +libgpgmeplug_la_LDFLAGS = -shared -Wl,-soname,libgpgmeplug.so + +libgpgmeplug_la_SOURCES = gpgme.h \ cryptplug.h \ gpgmeplug.c -- 2.26.2