From d54b9c15bd86ee99db07a085281b6d73cd5e43ed Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Tue, 31 Mar 2020 15:03:44 +0300 Subject: [PATCH] crypto: regenerate crypto_portable.sym Make crypto_portable.sym depend on crypto.sym and libcrypto.so on crypto_portable.sym to rebuild library if one of symbol files changes. Signed-off-by: Dmitry Baryshkov --- crypto/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 0b71a78..b897c00 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am @@ -21,7 +21,7 @@ EXTRA_DIST += compat/strcasecmp.c BUILT_SOURCES = crypto_portable.sym CLEANFILES = crypto_portable.sym -crypto_portable.sym: +crypto_portable.sym: crypto.sym Makefile -echo "generating crypto_portable.sym ..." -cp $(top_srcdir)/crypto/crypto.sym crypto_portable.sym -chmod u+w crypto_portable.sym @@ -94,6 +94,7 @@ if HOST_WIN endif libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym +EXTRA_libcrypto_la_DEPENDENCIES = crypto_portable.sym libcrypto_la_LIBADD = libcompat.la if !HAVE_EXPLICIT_BZERO libcrypto_la_LIBADD += libcompatnoopt.la