mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Rm polarssl compat targets from Makefiles
This commit is contained in:
@ -1,27 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Create libpolarssl.* symlinks in the given directory
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Usage: $0 <target-directory>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d "$1" ]; then :; else
|
||||
echo "$0: target directory must exist" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if cd "$1"; then :; else
|
||||
echo "$0: cd '$1' failed" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ls | grep 'libmbedtls\.' >/dev/null; then :; else
|
||||
echo "$0: libmbedtls not found in target directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for f in libmbedtls.*; do
|
||||
ln -sf $f libpolarssl${f#libmbedtls}
|
||||
done
|
Reference in New Issue
Block a user