From: Karl-Heinz Zimmer Date: Wed, 21 Nov 2001 23:20:49 +0000 (+0000) Subject: change Makefile to create shared lib X-Git-Tag: gpgme-1.2.0@1385~1259 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=72f6f8b764ac83a29acc462f186ca64cd21e7398;p=gpgme.git change Makefile to create shared lib --- diff --git a/trunk/gpgmeplug/Makefile.am b/trunk/gpgmeplug/Makefile.am index 5db16cb..81db784 100644 --- a/trunk/gpgmeplug/Makefile.am +++ b/trunk/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