Kalev Lember wrote:
> Hello,
> 
> The attached patch fixes onepin-opensc-pkcs11.dll manifest embedding
> with Microsoft compilers.

Sorry for replying to myself, but could someone please apply this
one-liner? Without this patch manifest doesn't get embedded in onepin
dll, and because of that the dynamic linker isn't able to locate Visual
C++ runtime libraries in WinSxS.

-- 
Thanks,
Kalev Lember
--- opensc-upstream/src/pkcs11/Makefile.mak.orig        2009-05-30 
16:04:49.571618509 +0300
+++ opensc-upstream/src/pkcs11/Makefile.mak     2009-05-30 16:05:16.754025211 
+0300
@@ -25,7 +25,7 @@
        echo EXPORTS >> $*.def
        type opensc-pkcs11.exports >> $*.def
        link $(LINKFLAGS) /dll /def:$*.def /implib:$*.lib /out:$(TARGET0) 
$(OBJECTS) hack-enabled.obj ..\libopensc\opensc.lib ..\scconf\scconf.lib 
..\pkcs15init\pkcs15init.lib ..\common\common.lib winscard.lib $(OPENSSL_LIB) 
$(LIBLTDL) gdi32.lib 
-       if EXIST $(TARGET).manifest mt -manifest $(TARGET).manifest 
-outputresource:$(TARGET);2
+       if EXIST $(TARGET0).manifest mt -manifest $(TARGET0).manifest 
-outputresource:$(TARGET0);2
 
 $(TARGET): $(OBJECTS) hack-disabled.obj ..\libopensc\opensc.lib 
..\scconf\scconf.lib ..\pkcs15init\pkcs15init.lib ..\common\common.lib
        echo LIBRARY $* > $*.def
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to