Project

General

Profile

Bug #1120 ยป kopensolaris-gnu.diff

rmh (Robert Millan), 02/06/2009 09:37 PM

View differences:

configure.in (working copy)
fi
case "$target_os" in
linux* | gnu* | k*bsd*-gnu | bsdi*)
linux* | gnu* | k*bsd*-gnu | bsdi* | kopensolaris*-gnu)
if test "$rb_cv_binary_elf" = no; then
with_dln_a_out=yes
else
......
*shlicc*) : ${LDSHARED="$CC -r"}
rb_cv_dlopen=yes ;;
esac ;;
linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi*)
linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu)
: ${LDSHARED='${CC} -shared'}
if test "$rb_cv_binary_elf" = yes; then
LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
......
fi
case "$target_os" in
linux* | gnu* | k*bsd*-gnu)
linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
STRIP='strip -S -x';;
nextstep*)
STRIP='strip -A -n';;
......
sunos4*)
LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
;;
linux* | gnu* | k*bsd*-gnu | atheos*)
linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu)
LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)'
LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
;;
    (1-1/1)