summaryrefslogtreecommitdiff
path: root/user/bearssl/bearssl-brssl-dynamic.patch
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2018-08-15 17:52:08 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2018-08-15 17:52:08 +0000
commit4ce302b11d99df844f842efa4b5dd10ad57c00cb (patch)
tree9b74ed9ee9039e996aa9b8f3a645aa8ecd19e26a /user/bearssl/bearssl-brssl-dynamic.patch
parentafb0fe3ccead10a3a68f938e80c891fe9d9cb9d3 (diff)
downloadpackages-4ce302b11d99df844f842efa4b5dd10ad57c00cb.tar.gz
packages-4ce302b11d99df844f842efa4b5dd10ad57c00cb.tar.bz2
packages-4ce302b11d99df844f842efa4b5dd10ad57c00cb.tar.xz
packages-4ce302b11d99df844f842efa4b5dd10ad57c00cb.zip
new package: user/bearssl
Builds on x86_64. SHOULD build on all other supported architectures.
Diffstat (limited to 'user/bearssl/bearssl-brssl-dynamic.patch')
-rw-r--r--user/bearssl/bearssl-brssl-dynamic.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/bearssl/bearssl-brssl-dynamic.patch b/user/bearssl/bearssl-brssl-dynamic.patch
new file mode 100644
index 000000000..e41bb138e
--- /dev/null
+++ b/user/bearssl/bearssl-brssl-dynamic.patch
@@ -0,0 +1,13 @@
+--- bearssl-0.5.old/mk/Rules.mk
++++ bearssl-0.5/mk/Rules.mk
+@@ -49,8 +49,8 @@
+ $(BEARSSLDLL): $(OBJDIR) $(OBJ)
+ $(LDDLL) $(LDDLLFLAGS) $(LDDLLOUT)$(BEARSSLDLL) $(OBJ)
+
+-$(BRSSL): $(BEARSSLLIB) $(OBJBRSSL)
+- $(LD) $(LDFLAGS) $(LDOUT)$(BRSSL) $(OBJBRSSL) $(BEARSSLLIB)
++$(BRSSL): $(BEARSSLDLL) $(OBJBRSSL)
++ $(LD) $(LDFLAGS) $(LDOUT)$(BRSSL) $(OBJBRSSL) $(BEARSSLDLL)
+
+ $(TESTCRYPTO): $(BEARSSLLIB) $(OBJTESTCRYPTO)
+ $(LD) $(LDFLAGS) $(LDOUT)$(TESTCRYPTO) $(OBJTESTCRYPTO) $(BEARSSLLIB)