[Pcsclite-cvs-commit] r5942 - /trunk/PCSC/src/pcsc-spy.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Sep 6 09:21:08 UTC 2011


Author: rousseau
Date: Tue Sep  6 09:21:07 2011
New Revision: 5942

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5942
Log:
load_lib(): Do not use an absolut pathname

Use "libpcsclite.so.1" instead of "/usr/lib/libpcsclite.so.1" to let the
dynamic linker ld.so search for the lib.

Modified:
    trunk/PCSC/src/pcsc-spy.c

Modified: trunk/PCSC/src/pcsc-spy.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcsc-spy.c?rev=5942&op=diff
==============================================================================
--- trunk/PCSC/src/pcsc-spy.c (original)
+++ trunk/PCSC/src/pcsc-spy.c Tue Sep  6 09:21:07 2011
@@ -245,7 +245,7 @@
 {
 	void *handle;
 
-#define LIBPCSC "/usr/lib/libpcsclite.so.1"
+#define LIBPCSC "libpcsclite.so.1"
 	handle = dlopen(LIBPCSC, RTLD_LAZY);
 	if (NULL == handle)
 	{




More information about the Pcsclite-cvs-commit mailing list