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 shrext_cmds="`${LIBTOOL} --config | grep shrext_cmds`"
19 if [ -z "${shrext_cmds}" ]; then
20 echo "Failed to determine default shared library extension"
24 if [ -f ${install_dir}/libbaccats-${default_backend}-${library_version}${shrext_cmds} ]; then
26 # Create a default catalog library pointing to one of the shared libs.
28 rm -f ${install_dir}/libbaccats-${library_version}${shrext_cmds}
29 ln -s ${install_dir}/libbaccats-${default_backend}-${library_version}${shrext_cmds} \
30 ${install_dir}/libbaccats-${library_version}${shrext_cmds}