We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f9f343 commit 42f5b7fCopy full SHA for 42f5b7f
CMakeLists.txt
@@ -402,7 +402,7 @@ if (S2N_INTERN_LIBCRYPTO)
402
# copy the static version of libcrypto
403
cp ${crypto_STATIC_LIBRARY} s2n_libcrypto.a &&
404
# dump all of the symbols and prefix them with `s2n$`
405
- bash -c "${CMAKE_NM} s2n_libcrypto.a | awk '/ [A-Z] /{print $3\" s2n$\"$3}' | sort | uniq > libcrypto.symbols" &&
+ bash -c "${CMAKE_NM} s2n_libcrypto.a | awk '/ [A-Z] /{if ($3) print $3\" s2n$\"$3}' | sort | uniq > libcrypto.symbols" &&
406
# redefine the libcrypto libary symbols
407
${CMAKE_OBJCOPY} --redefine-syms libcrypto.symbols s2n_libcrypto.a &&
408
rm -rf s2n_libcrypto &&
0 commit comments