diff options
-rw-r--r-- | crypto/Makefile.am | 5 | ||||
-rw-r--r-- | m4/check-libc.m4 | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index dc94a8c..04b67aa 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
@@ -15,7 +15,10 @@ EXTRA_DIST += crypto.sym | |||
15 | # needed for a CMake target | 15 | # needed for a CMake target |
16 | EXTRA_DIST += compat/strcasecmp.c | 16 | EXTRA_DIST += compat/strcasecmp.c |
17 | 17 | ||
18 | libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols $(top_srcdir)/crypto/crypto_portable.sym | 18 | BUILT_SOURCES = crypto_portable.sym |
19 | CLEANFILES = crypto_portable.sym | ||
20 | |||
21 | libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym | ||
19 | libcrypto_la_LIBADD = libcompat.la | 22 | libcrypto_la_LIBADD = libcompat.la |
20 | if !HAVE_EXPLICIT_BZERO | 23 | if !HAVE_EXPLICIT_BZERO |
21 | libcrypto_la_LIBADD += libcompatnoopt.la | 24 | libcrypto_la_LIBADD += libcompatnoopt.la |
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index f9ddf73..066b394 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 | |||
@@ -150,9 +150,9 @@ fi | |||
150 | 150 | ||
151 | AC_DEFUN([GENERATE_CRYPTO_PORTABLE_SYM], [ | 151 | AC_DEFUN([GENERATE_CRYPTO_PORTABLE_SYM], [ |
152 | crypto_sym=$srcdir/crypto/crypto.sym | 152 | crypto_sym=$srcdir/crypto/crypto.sym |
153 | crypto_p_sym=$srcdir/crypto/crypto_portable.sym | 153 | crypto_p_sym=./crypto/crypto_portable.sym |
154 | echo "generating $crypto_p_sym ..." | 154 | echo "generating $crypto_p_sym ..." |
155 | chmod u+w $srcdir/crypto | 155 | mkdir -p ./crypto |
156 | cp $crypto_sym $crypto_p_sym | 156 | cp $crypto_sym $crypto_p_sym |
157 | chmod u+w $crypto_p_sym | 157 | chmod u+w $crypto_p_sym |
158 | if test "x$ac_cv_func_arc4random_buf" = "xno" ; then | 158 | if test "x$ac_cv_func_arc4random_buf" = "xno" ; then |