From f329c2663bde748d4a8fc462a1ea7bbc4ab47b36 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Fri, 27 Sep 2013 23:27:24 +0300 Subject: [PATCH] build: use newer libtool -shared option Signed-off-by: Alon Bar-Lev --- src/ctapi/Makefile.am | 2 +- src/pcsc/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ctapi/Makefile.am b/src/ctapi/Makefile.am index 25627a3..c837820 100644 --- a/src/ctapi/Makefile.am +++ b/src/ctapi/Makefile.am @@ -8,4 +8,4 @@ libopenctapi_la_LIBADD = $(top_builddir)/src/ct/libopenct.la libopenctapi_la_CFLAGS = $(AM_CFLAGS) \ -I$(top_srcdir)/src/include \ -I$(top_builddir)/src/include -libopenctapi_la_LDFLAGS = -avoid-version -no-undefined --module +libopenctapi_la_LDFLAGS = -avoid-version -no-undefined -module -shared diff --git a/src/pcsc/Makefile.am b/src/pcsc/Makefile.am index 9986621..6aff8b8 100644 --- a/src/pcsc/Makefile.am +++ b/src/pcsc/Makefile.am @@ -5,7 +5,7 @@ lib_LTLIBRARIES = openct-ifd.la endif openct_ifd_la_SOURCES = pcsc.c -openct_ifd_la_LDFLAGS = -module -avoid-version -no-undefined +openct_ifd_la_LDFLAGS = -module -shared -avoid-version -no-undefined openct_ifd_la_LIBADD = $(PCSC_LIBS) $(top_builddir)/src/ctapi/libopenctapi.la openct_ifd_la_CFLAGS = $(AM_CFLAGS) \ -I$(top_srcdir)/src/include \