Revert "jose: fix static library usage"
authorRosen Penev <rosenp@gmail.com>
Thu, 22 Sep 2022 23:02:05 +0000 (16:02 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 25 Sep 2022 09:10:06 +0000 (02:10 -0700)
This reverts commit c61b70918b6c10f6fd726b098474736a7e0ae9cd.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/jose/Makefile
libs/jose/patches/010-whole.patch [deleted file]

index 19b6c514d6672fb1f834762c120d588eaf9c6dd4..6360a70d3808d5bd5dc098c1cc6d4b4ba57046b4 100644 (file)
@@ -19,13 +19,15 @@ PKG_MAINTAINER:=Tibor Dudlák <tibor.dudlak@gmail.com>
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=COPYING
 
+PKG_BUILD_DEPENDS:=openssl
+
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/meson.mk
 
 define Package/jose
   SECTION:=utils
   TITLE:=Provides a full crypto stack including key generation, signing and encryption.
-  DEPENDS:=+jansson +libopenssl +zlib
+  DEPENDS:=+jansson
   URL:=https://github.com/latchset/jose
 endef
 
diff --git a/libs/jose/patches/010-whole.patch b/libs/jose/patches/010-whole.patch
deleted file mode 100644 (file)
index 33ee9e2..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/cmd/meson.build
-+++ b/cmd/meson.build
-@@ -22,6 +22,6 @@ executable(meson.project_name(),
-   'alg.c',
-   'fmt.c',
-   dependencies: jansson,
--  link_with: libjose,
-+  link_whole: libjose,
-   install: true
- )