configure.in: no -lelf
* configure.in (LIBS): libelf is need on only FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a824a6187d
commit
2370556d3d
@ -1,3 +1,7 @@
|
|||||||
|
Mon Nov 19 16:17:53 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (LIBS): libelf is need on only FreeBSD.
|
||||||
|
|
||||||
Mon Nov 19 16:08:10 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Nov 19 16:08:10 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* common.mk (RUBYLIB): purelib option in runruby.rb is deprecated
|
* common.mk (RUBYLIB): purelib option in runruby.rb is deprecated
|
||||||
|
@ -2758,7 +2758,7 @@ if test "${enable_dtrace}" = "yes"; then
|
|||||||
AC_MSG_ERROR([--enable-dtrace, however, cross compiling])
|
AC_MSG_ERROR([--enable-dtrace, however, cross compiling])
|
||||||
else
|
else
|
||||||
RUBY_DTRACE_POSTPROCESS()
|
RUBY_DTRACE_POSTPROCESS()
|
||||||
if test "$rb_cv_prog_dtrace_g" = 'yes'; then
|
if test "$rb_cv_prog_dtrace_g" = 'yes'; then
|
||||||
RUBY_DTRACE_BSD_BROKEN([AC_MSG_ERROR([--enable-dtrace, however, USDT is broken])], [])
|
RUBY_DTRACE_BSD_BROKEN([AC_MSG_ERROR([--enable-dtrace, however, USDT is broken])], [])
|
||||||
DTRACE_OBJ='probes.$(OBJEXT)'
|
DTRACE_OBJ='probes.$(OBJEXT)'
|
||||||
DTRACE_GLOMMED_OBJ='ruby-glommed.$(OBJEXT)'
|
DTRACE_GLOMMED_OBJ='ruby-glommed.$(OBJEXT)'
|
||||||
@ -2774,10 +2774,10 @@ AC_SUBST(DTRACE_OBJ)
|
|||||||
AC_SUBST(DTRACE_GLOMMED_OBJ)
|
AC_SUBST(DTRACE_GLOMMED_OBJ)
|
||||||
AC_SUBST(LIBRUBY_A_OBJS)
|
AC_SUBST(LIBRUBY_A_OBJS)
|
||||||
|
|
||||||
if test "${enable_dtrace}" = "yes"; then
|
AS_CASE("${enable_dtrace}:${target_os}", [yes:freebsd*], [
|
||||||
# FreeBSD's dtrace requires libelf
|
# FreeBSD's dtrace requires libelf
|
||||||
LIBS="-lelf $LIBS"
|
LIBS="-lelf $LIBS"
|
||||||
fi
|
])
|
||||||
|
|
||||||
}
|
}
|
||||||
{ # build section
|
{ # build section
|
||||||
|
Loading…
x
Reference in New Issue
Block a user