Make symlink for .so as well as soname
This commit is contained in:
parent
ce9f7e654a
commit
18d5859084
|
@ -39,8 +39,9 @@ then
|
||||||
-Wl,-soname,${SONAME} \
|
-Wl,-soname,${SONAME} \
|
||||||
${SRC} ${SO_EXTRA} || return 1
|
${SRC} ${SO_EXTRA} || return 1
|
||||||
|
|
||||||
# make tests work
|
# make tests and linking work
|
||||||
do_cmd ln -sf $(basename ${@CNAME@}) obj/${SONAME} || return 1
|
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"
|
print_success "Library built"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue