* configure.in (bsdi): use $(CC) for LDSHARED. fixed [ruby-dev:25270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f68ab9c2d9
commit
7d6f48ccd2
@ -1,3 +1,7 @@
|
|||||||
|
Thu Dec 23 00:16:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (bsdi): use $(CC) for LDSHARED. fixed [ruby-dev:25270]
|
||||||
|
|
||||||
Wed Dec 22 11:14:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Dec 22 11:14:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* io.c (rb_io_mode_modenum): replace O_ACCMODE with O_RDWR.
|
* io.c (rb_io_mode_modenum): replace O_ACCMODE with O_RDWR.
|
||||||
|
15
configure.in
15
configure.in
@ -779,7 +779,7 @@ if test "$rb_cv_binary_elf" = yes; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
linux* | gnu* | k*bsd*-gnu)
|
linux* | gnu* | k*bsd*-gnu | bsdi*)
|
||||||
if test "$rb_cv_binary_elf" = no; then
|
if test "$rb_cv_binary_elf" = no; then
|
||||||
with_dln_a_out=yes
|
with_dln_a_out=yes
|
||||||
else
|
else
|
||||||
@ -852,7 +852,11 @@ if test "$with_dln_a_out" != yes; then
|
|||||||
rb_cv_dlopen=yes ;;
|
rb_cv_dlopen=yes ;;
|
||||||
osf*) : ${LDSHARED="ld -shared -expect_unresolved \"*\""}
|
osf*) : ${LDSHARED="ld -shared -expect_unresolved \"*\""}
|
||||||
rb_cv_dlopen=yes ;;
|
rb_cv_dlopen=yes ;;
|
||||||
linux* | gnu* | k*bsd*-gnu | netbsd*)
|
bsdi3*) case "$CC" in
|
||||||
|
*shlicc*) : ${LDSHARED="$CC -r"}
|
||||||
|
rb_cv_dlopen=yes ;;
|
||||||
|
esac ;;
|
||||||
|
linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi*)
|
||||||
: ${LDSHARED='${CC} -shared'}
|
: ${LDSHARED='${CC} -shared'}
|
||||||
if test "$rb_cv_binary_elf" = yes; then
|
if test "$rb_cv_binary_elf" = yes; then
|
||||||
LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
|
LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
|
||||||
@ -875,13 +879,6 @@ if test "$with_dln_a_out" != yes; then
|
|||||||
LDFLAGS="$LDFLAGS -Wl,-E"
|
LDFLAGS="$LDFLAGS -Wl,-E"
|
||||||
fi
|
fi
|
||||||
rb_cv_dlopen=yes ;;
|
rb_cv_dlopen=yes ;;
|
||||||
bsdi3*) case "$CC" in
|
|
||||||
*shlicc*) : ${LDSHARED="$CC -r"}
|
|
||||||
rb_cv_dlopen=yes ;;
|
|
||||||
esac ;;
|
|
||||||
bsdi*) : ${LDSHARED="ld -shared"}
|
|
||||||
LDFLAGS="$LDFLAGS "'-rdynamic -Wl,-rpath,$(libdir)/ruby/$(MAJOR).$(MINOR)/i386-bsdi4.0'
|
|
||||||
rb_cv_dlopen=yes ;;
|
|
||||||
nextstep*) : ${LDSHARED='cc -r -nostdlib'}
|
nextstep*) : ${LDSHARED='cc -r -nostdlib'}
|
||||||
LDFLAGS="$LDFLAGS -u libsys_s"
|
LDFLAGS="$LDFLAGS -u libsys_s"
|
||||||
rb_cv_dlopen=yes ;;
|
rb_cv_dlopen=yes ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user