Merge pull request #11959 from neheb/ipfs

ipfs-http-client: fix compilation of tests
This commit is contained in:
Rosen Penev
2020-04-27 15:26:07 -07:00
committed by GitHub
+4 -4
View File
@@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ipfs-http-client PKG_NAME:=ipfs-http-client
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com> PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
@@ -38,7 +38,7 @@ define Package/libipfs-http-client
endef endef
define Package/libipfs-http-client/description define Package/libipfs-http-client/description
$(call Package/ipfs-http-client/Default/description) $(call Package/ipfs-http-client/Default/description)
This package contains shared library. This package contains shared library.
endef endef
@@ -51,13 +51,13 @@ define Package/ipfs-http-client-tests
endef endef
define Package/ipfs-http-client-tests/description define Package/ipfs-http-client-tests/description
$(call Package/ipfs-http-client/Default/description) $(call Package/ipfs-http-client/Default/description)
This package contains library tests. This package contains library tests.
endef endef
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \
-DBUILD_SHARED_LIBS=ON \ -DBUILD_SHARED_LIBS=ON \
-DENABLE_TESTING=ON -DBUILD_TESTING=ON
define Package/libipfs-http-client/install define Package/libipfs-http-client/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib