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
 	$(CP) $(PKG_INSTALL_DIR)/usr/include/sodium/*.h $(1)/usr/include/sodium
62
 	$(CP) $(PKG_INSTALL_DIR)/usr/include/sodium/*.h $(1)/usr/include/sodium
63
 	$(INSTALL_DIR) $(1)/usr/lib
63
 	$(INSTALL_DIR) $(1)/usr/lib
64
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsodium.{a,so*} $(1)/usr/lib
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
 endef
67
 endef
66
 
68
 
67
 define Package/libsodium/install
69
 define Package/libsodium/install