diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-06-04 20:48:04 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-06-05 10:05:37 +0100 |
commit | da7b3d294b2827f26bdb6dcbe7c123e77865c160 (patch) | |
tree | 66c8d87300dfc440d85eb35bb6a7eea255cebbbb /bin/mklib | |
parent | d8de01ba4138d603a2ffcd1ae3cd13186cdb98e3 (diff) |
pull in minor mklib change to fix debugging
Diffstat (limited to 'bin/mklib')
-rwxr-xr-x | bin/mklib | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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. |