diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2020-03-31 15:03:44 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2020-03-31 15:03:46 +0300 |
commit | d54b9c15bd86ee99db07a085281b6d73cd5e43ed (patch) | |
tree | 823138082f79f9a231c6ac5ba47fd82b3a71bda5 | |
parent | 81e279b69149ecffdb3e7adff789e9031d5d5683 (diff) | |
download | portable-d54b9c15bd86ee99db07a085281b6d73cd5e43ed.tar.gz portable-d54b9c15bd86ee99db07a085281b6d73cd5e43ed.tar.bz2 portable-d54b9c15bd86ee99db07a085281b6d73cd5e43ed.zip |
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 <dbaryshkov@gmail.com>
-rw-r--r-- | crypto/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
21 | BUILT_SOURCES = crypto_portable.sym | 21 | BUILT_SOURCES = crypto_portable.sym |
22 | CLEANFILES = crypto_portable.sym | 22 | CLEANFILES = crypto_portable.sym |
23 | 23 | ||
24 | crypto_portable.sym: | 24 | crypto_portable.sym: crypto.sym Makefile |
25 | -echo "generating crypto_portable.sym ..." | 25 | -echo "generating crypto_portable.sym ..." |
26 | -cp $(top_srcdir)/crypto/crypto.sym crypto_portable.sym | 26 | -cp $(top_srcdir)/crypto/crypto.sym crypto_portable.sym |
27 | -chmod u+w crypto_portable.sym | 27 | -chmod u+w crypto_portable.sym |
@@ -94,6 +94,7 @@ if HOST_WIN | |||
94 | endif | 94 | endif |
95 | 95 | ||
96 | libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym | 96 | libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym |
97 | EXTRA_libcrypto_la_DEPENDENCIES = crypto_portable.sym | ||
97 | libcrypto_la_LIBADD = libcompat.la | 98 | libcrypto_la_LIBADD = libcompat.la |
98 | if !HAVE_EXPLICIT_BZERO | 99 | if !HAVE_EXPLICIT_BZERO |
99 | libcrypto_la_LIBADD += libcompatnoopt.la | 100 | libcrypto_la_LIBADD += libcompatnoopt.la |