[Pcsclite-cvs-commit] r1830 - in trunk/PCSC: libmusclecard/src src

Ludovic Rousseau rousseau at costa.debian.org
Tue Jan 24 14:52:16 UTC 2006


Author: rousseau
Date: 2006-01-24 14:52:16 +0000 (Tue, 24 Jan 2006)
New Revision: 1830

Modified:
   trunk/PCSC/libmusclecard/src/Makefile.am
   trunk/PCSC/src/Makefile.am
Log:
Compile with -fvisibility=hidden to hide all symbols by default.
The export of symbol must now be explicit. That only works for the ELF
format.


Modified: trunk/PCSC/libmusclecard/src/Makefile.am
===================================================================
--- trunk/PCSC/libmusclecard/src/Makefile.am	2006-01-24 14:51:05 UTC (rev 1829)
+++ trunk/PCSC/libmusclecard/src/Makefile.am	2006-01-24 14:52:16 UTC (rev 1830)
@@ -23,7 +23,8 @@
 	$(top_srcdir)/src/thread_unix.c
 libmusclecard_la_CFLAGS = \
 	-I$(top_srcdir)/src/PCSC -I$(top_builddir)/src/PCSC \
-	-I$(top_srcdir)/libmusclecard/src/PCSC
+	-I$(top_srcdir)/libmusclecard/src/PCSC \
+	-fvisibility=hidden
 libmusclecard_la_LIBADD = \
 	$(top_builddir)/src/libpcsclite.la
 

Modified: trunk/PCSC/src/Makefile.am
===================================================================
--- trunk/PCSC/src/Makefile.am	2006-01-24 14:51:05 UTC (rev 1829)
+++ trunk/PCSC/src/Makefile.am	2006-01-24 14:52:16 UTC (rev 1830)
@@ -1,7 +1,8 @@
 # Process this file with automake to create Makefile.in.
 
 SUBDIRS = . utils
-AM_CPPFLAGS = -I$(top_srcdir)/src/PCSC -I$(top_builddir)/src/PCSC
+AM_CPPFLAGS = -I$(top_srcdir)/src/PCSC -I$(top_builddir)/src/PCSC \
+	-fvisibility=hidden
 
 lib_LTLIBRARIES = libpcsclite.la
 noinst_LTLIBRARIES = libpcsclite-core.la




More information about the Pcsclite-cvs-commit mailing list