aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl-Heinz Zimmer <[email protected]>2001-11-21 23:20:49 +0000
committerKarl-Heinz Zimmer <[email protected]>2001-11-21 23:20:49 +0000
commita80e3d381c1629adaa219fac4fc14e4c940fde7c (patch)
treeb644cf2b785adb0611613c787d35930c953b6413
parentcosmetic change (diff)
downloadgpgme-a80e3d381c1629adaa219fac4fc14e4c940fde7c.tar.gz
gpgme-a80e3d381c1629adaa219fac4fc14e4c940fde7c.zip
change Makefile to create shared lib
-rw-r--r--gpgmeplug/Makefile.am13
1 files changed, 9 insertions, 4 deletions
diff --git a/gpgmeplug/Makefile.am b/gpgmeplug/Makefile.am
index 5db16cb6..81db7847 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