1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-01-19 13:44:41 +01:00
Files
SqMod/vendor/POCO/build/script/shlibln
Sandu Liviu Catalin f2b7499f85 Update libraries and make it build on windows.
Still gets some warnings because compilers have changed. But should work.
2025-06-25 22:34:23 +03:00

27 lines
362 B
Bash

#! /bin/sh
#
# shlibln
#
# Create a symbolic link for a shared library
#
if [ $# -ne 2 ] ; then
echo "usage: $0:t file link"
exit 1
fi
source="$1"
target="$2"
sourcedir=$(dirname "$source")
targetdir=$(dirname "$target")
if [ "$sourcedir" = "$targetdir" ] ; then
source=$(basename "$source")
fi
if [ "$1" != "$2" ] ; then
ln -sf "$source" "$target"
fi