p11-kit: install opensc.module if opensc is enabled.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
parent
74200f07a1
commit
6308984c48
2 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,10 @@ endef
|
||||||
define Package/p11-kit/install
|
define Package/p11-kit/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libp11-kit.so.* $(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
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,p11-kit))
|
$(eval $(call BuildPackage,p11-kit))
|
||||||
|
|
1
libs/p11-kit/files/opensc.module
Normal file
1
libs/p11-kit/files/opensc.module
Normal file
|
@ -0,0 +1 @@
|
||||||
|
module: /usr/lib/opensc-pkcs11.so
|
Loading…
Reference in a new issue