Browse Source

libsodium: fixed pkgconfig not found it.

Signed-off-by: Han Chen chen1324@gmail.com
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
62 62
 	$(CP) $(PKG_INSTALL_DIR)/usr/include/sodium/*.h $(1)/usr/include/sodium
63 63
 	$(INSTALL_DIR) $(1)/usr/lib
64 64
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsodium.{a,so*} $(1)/usr/lib
65
+	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
66
+	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libsodium.pc $(1)/usr/lib/pkgconfig/
65 67
 endef
66 68
 
67 69
 define Package/libsodium/install