Browse Source

p11-kit: install opensc.module if opensc is enabled.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
lilik-openwrt-22.03
Nikos Mavrogiannopoulos 11 years ago
parent
commit
6308984c48
2 changed files with 5 additions and 0 deletions
  1. +4
    -0
      libs/p11-kit/Makefile
  2. +1
    -0
      libs/p11-kit/files/opensc.module

+ 4
- 0
libs/p11-kit/Makefile View File

@ -50,6 +50,10 @@ endef
define Package/p11-kit/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libp11-kit.so.* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/etc/p11-kit/modules/
ifneq ($(CONFIG_PACKAGE_libopensc),)
$(CP) ./files/opensc.module $(1)/etc/p11-kit/modules/
endif
endef
$(eval $(call BuildPackage,p11-kit))

+ 1
- 0
libs/p11-kit/files/opensc.module View File

@ -0,0 +1 @@
module: /usr/lib/opensc-pkcs11.so

Loading…
Cancel
Save