This solves parallel build issues.
---
 usr/lib/pkcs11/api/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr/lib/pkcs11/api/Makefile.am b/usr/lib/pkcs11/api/Makefile.am
index e428269..76828d6 100644
--- a/usr/lib/pkcs11/api/Makefile.am
+++ b/usr/lib/pkcs11/api/Makefile.am
@@ -15,18 +15,18 @@ opencryptoki_libopencryptoki_la_CFLAGS = -DSPINXPL -DAPI 
-DDEV -D_THREAD_SAFE \
 opencryptoki_libopencryptoki_la_SOURCES = api_interface.c shrd_mem.c apiutil.c
 
 install-data-hook:
+       $(MKDIR_P) $(DESTDIR)$(libdir)/opencryptoki/stdll
+       $(MKDIR_P) $(DESTDIR)$(libdir)/pkcs11
        cd $(DESTDIR)$(libdir)/opencryptoki && \
                ln -sf libopencryptoki.so PKCS11_API.so 
        cd $(DESTDIR)$(libdir)/opencryptoki && \
                ln -sf $(sbindir) methods
-       $(MKDIR_P) $(DESTDIR)$(libdir)/pkcs11
        cd $(DESTDIR)$(libdir)/pkcs11 && \
                ln -sf $(sbindir) methods
        cd $(DESTDIR)$(libdir)/pkcs11 && \
                ln -sf ../opencryptoki/libopencryptoki.so PKCS11_API.so
        cd $(DESTDIR)$(libdir)/pkcs11 && \
                ln -sf ../opencryptoki/libopencryptoki.so libopencryptoki.so
-       $(MKDIR_P) $(DESTDIR)$(libdir)/opencryptoki/stdll
        cd $(DESTDIR)$(libdir)/pkcs11 && \
                ln -sf ../opencryptoki/stdll/ stdll
 
-- 
1.7.4.rc1


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to