pull in minor mklib change to fix debugging

This commit is contained in:
Keith Whitwell 2008-06-04 20:48:04 +01:00
parent d8de01ba41
commit da7b3d294b
1 changed files with 7 additions and 2 deletions

View File

@ -202,8 +202,13 @@ case $ARCH in
if [ $NOPREFIX = 1 ] ; then
# No "lib" or ".so" part
echo "mklib: Making" $ARCH "shared library: " ${LIBNAME}
#OPTS="-shared -Wl,-soname,${LIBNAME}" # soname???
OPTS="-shared"
case $ARCH in 'Linux' | 'GNU' | GNU/*)
OPTS="-Xlinker -Bsymbolic -shared"
;;
*)
OPTS="-shared"
;;
esac
# Check if objects are 32-bit and we're running in 64-bit
# environment. If so, pass -m32 flag to linker.