[Pcsclite-cvs-commit] r4681 - in /trunk/PCSC: configure.in src/Makefile.am

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Jan 21 13:54:32 UTC 2010


Author: rousseau
Date: Thu Jan 21 13:54:30 2010
New Revision: 4681

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4681
Log:
Do not completely disable building the static version of the library but
just disable it by default

Use AM_DISABLE_STATIC in configure.in instead of -shared in Makefile.am

Modified:
    trunk/PCSC/configure.in
    trunk/PCSC/src/Makefile.am

Modified: trunk/PCSC/configure.in
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/configure.in?rev=4681&op=diff
==============================================================================
--- trunk/PCSC/configure.in (original)
+++ trunk/PCSC/configure.in Thu Jan 21 13:54:30 2010
@@ -77,6 +77,8 @@
 AC_SUBST(PTHREAD_CFLAGS)
 
 # Add libtool support
+# Static lib is disabled by default. Use --enable-static if needed
+AM_DISABLE_STATIC
 AM_PROG_LIBTOOL
 # Automatically update the libtool script if it becomes out-of-date
 #AC_SUBST(LIBTOOL_DEPS)

Modified: trunk/PCSC/src/Makefile.am
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/Makefile.am?rev=4681&op=diff
==============================================================================
--- trunk/PCSC/src/Makefile.am (original)
+++ trunk/PCSC/src/Makefile.am Thu Jan 21 13:54:30 2010
@@ -20,7 +20,7 @@
 	thread_unix.c \
 	utils.c \
 	winscard_msg.c
-libpcsclite_la_LDFLAGS = -version-info 1:0:0 -shared
+libpcsclite_la_LDFLAGS = -version-info 1:0:0
 libpcsclite_la_CFLAGS = $(CFLAGS) $(PTHREAD_CFLAGS) -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE
 libpcsclite_la_LIBADD = $(COREFOUNDATION) $(LIBSMARTCARD) $(LIBDL) \
 	$(PTHREAD_CFLAGS) $(PTHREAD_LIBS)




More information about the Pcsclite-cvs-commit mailing list