Make symlink for .so as well as soname

This commit is contained in:
Laurence Withers 2008-10-30 00:40:45 +00:00
parent ce9f7e654a
commit 18d5859084
1 changed files with 3 additions and 2 deletions

View File

@ -39,8 +39,9 @@ then
-Wl,-soname,${SONAME} \
${SRC} ${SO_EXTRA} || return 1
# make tests work
do_cmd ln -sf $(basename ${@CNAME@}) obj/${SONAME} || return 1
# make tests and linking work
do_cmd ln -sf "$(basename "${@CNAME@}")" "obj/${SONAME}" || return 1
do_cmd ln -sf "$(basename "${@CNAME@}")" "obj/${@CNAME@_BASE}.so" || return 1
print_success "Library built"
else