3 LIBTOOL="@BUILD_DIR@/libtool"
6 echo "Usage: $0 <default_backend> <library_version> <install_dir>"
15 # Find out what the shared lib extension is for this platform.
17 eval `${LIBTOOL} --config | grep shrext_cmds`
18 if [ -z "${shrext_cmds}" ]; then
19 echo "Failed to determine default shared library extension"
23 if [ -f ${install_dir}/libbaccats-${default_backend}-${library_version}${shrext_cmds} ]; then
25 # Create a default catalog library pointing to one of the shared libs.
27 rm -f ${install_dir}/libbaccats-${library_version}${shrext_cmds}
28 ln -s ${install_dir}/libbaccats-${default_backend}-${library_version}${shrext_cmds} \
29 ${install_dir}/libbaccats-${library_version}${shrext_cmds}