Browse Source

libsodium: fixed pkgconfig not found it.

Signed-off-by: Han Chen chen1324@gmail.com
lilik-openwrt-22.03
Han Chen 10 years ago
parent
commit
aa604d34eb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libs/libsodium/Makefile

+ 2
- 0
libs/libsodium/Makefile View File

@ -62,6 +62,8 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/include/sodium/*.h $(1)/usr/include/sodium
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsodium.{a,so*} $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libsodium.pc $(1)/usr/lib/pkgconfig/
endef
define Package/libsodium/install


Loading…
Cancel
Save