summaryrefslogtreecommitdiff
path: root/user/bearssl/bearssl-brssl-dynamic.patch
blob: e41bb138ee85f7adbff1e89c7812254d9de7e338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)