--- src/Makefile.am.orig 2016-03-28 16:04:04 UTC +++ src/Makefile.am @@ -40,6 +40,7 @@ pkcs11_la_LDFLAGS = $(AM_LDFLAGS) -modul all-local: cd .libs && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT) install-exec-hook: + $(MKDIR_P) '$(DESTDIR)$(enginesdir)' cd '$(DESTDIR)$(enginesdir)' && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT) if WIN32