mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 12:34:35 +04:00
p11-kit: install opensc.module if opensc is enabled.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user