From 1c530966037bae5adbb3df76fc7038dc79b4cf45 Mon Sep 17 00:00:00 2001 From: frankmorgner Date: Wed, 26 May 2010 22:51:19 +0000 Subject: [PATCH] bugfix: using libtool for installation git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@112 96b47cad-a561-4643-ad3b-153ac7d7599c --- virtualsmartcard/src/vpcd/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/virtualsmartcard/src/vpcd/Makefile.am b/virtualsmartcard/src/vpcd/Makefile.am index b30ede4..5bf02d1 100644 --- a/virtualsmartcard/src/vpcd/Makefile.am +++ b/virtualsmartcard/src/vpcd/Makefile.am @@ -11,7 +11,7 @@ install: install_libvpcd install_libvpcd: libvpcd.la $(mkinstalldirs) $(DESTDIR)$(serialdropdir) - cp .libs/$(VPCD_LIB) $(DESTDIR)$(serialdropdir)/$(VPCD_LIB).$(VERSION) + $(LIBTOOL) --mode=install cp .libs/$(VPCD_LIB) $(DESTDIR)$(serialdropdir)/$(VPCD_LIB).$(VERSION) ln -fs $(VPCD_LIB).$(VERSION) $(DESTDIR)$(serialdropdir)/$(VPCD_LIB) if [ -e $(DESTDIR)$(sysconfdir)/reader.conf ] ; \ then \ @@ -24,4 +24,5 @@ install_libvpcd: libvpcd.la uninstall: uninstall_libvpcd uninstall_libvpcd: - rm -f $(DESTDIR)$(serialdropdir)/$(VPCD_LIB).$(VERSION) + rm -f $(DESTDIR)$(serialdropdir)/$(VPCD_LIB).$(VERSION) \ + $(DESTDIR)$(serialdropdir)/$(VPCD_LIB)