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 eval SHLIB_EXT=$shrext_cmds
20 if [ -z "${SHLIB_EXT}" ]; then
21 echo "Failed to determine default shared library extension"
25 if [ -f ${install_dir}/libbaccats-${default_backend}-${library_version}${SHLIB_EXT} ]; then
27 # Create a default catalog library pointing to one of the shared libs.
29 rm -f ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
30 ln -s ${install_dir}/libbaccats-${default_backend}-${library_version}${SHLIB_EXT} \
31 ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}