aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src
diff options
context:
space:
mode:
authorSebastien Merle <[email protected]>2019-06-19 16:34:53 +0200
committerSebastien Merle <[email protected]>2019-06-26 11:01:10 +0200
commita6c2a643d190774acd803fb2f105e5fc6846dbc2 (patch)
treee8a420eb7051be656fe91f46ebe7d722df34f57e /lib/crypto/c_src
parentbf9e4be9ef971da7d7325424dde50d9bc6b186aa (diff)
downloadotp-a6c2a643d190774acd803fb2f105e5fc6846dbc2.tar.gz
otp-a6c2a643d190774acd803fb2f105e5fc6846dbc2.tar.bz2
otp-a6c2a643d190774acd803fb2f105e5fc6846dbc2.zip
crypto: Fix the build of static crypto nifs
Diffstat (limited to 'lib/crypto/c_src')
-rw-r--r--lib/crypto/c_src/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in
index 2512013ed6..f922c3fb9b 100644
--- a/lib/crypto/c_src/Makefile.in
+++ b/lib/crypto/c_src/Makefile.in
@@ -100,8 +100,7 @@ CRYPTO_OBJS = $(OBJDIR)/crypto$(TYPEMARKER).o \
$(OBJDIR)/srp$(TYPEMARKER).o
CALLBACK_OBJS = $(OBJDIR)/crypto_callback$(TYPEMARKER).o
NIF_MAKEFILE = $(PRIVDIR)/Makefile
-CRYPTO_STATIC_OBJS = $(OBJDIR)/crypto_static$(TYPEMARKER).o\
- $(OBJDIR)/crypto_callback_static$(TYPEMARKER).o
+CRYPTO_STATIC_OBJS = $(patsubst $(OBJDIR)/%$(TYPEMARKER).o,$(OBJDIR)/%_static$(TYPEMARKER).o,$(CRYPTO_OBJS) $(CALLBACK_OBJS))
NIF_ARCHIVE = $(LIBDIR)/crypto$(TYPEMARKER).a