diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-31 08:38:28 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-31 08:38:28 +0000 |
| commit | ea15086782120615af50c8e29ce051956ec0b7cf (patch) | |
| tree | 6b7a51897a0d1cc4152cb03efb3175ea6df9fb58 /configure.in | |
| parent | ed7103b3e54fd41419383c1ec65340c3fc335776 (diff) | |
| download | ruby-ea15086782120615af50c8e29ce051956ec0b7cf.tar.gz ruby-ea15086782120615af50c8e29ce051956ec0b7cf.tar.xz ruby-ea15086782120615af50c8e29ce051956ec0b7cf.zip | |
* configure.in: use proper option for Sun linker. A patch from
Shinya Kuwamura <kuwa@labs.fujitsu.com>. [ruby-dev:27603]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 2ab91c2e5..40dfdbc58 100644 --- a/configure.in +++ b/configure.in @@ -981,7 +981,11 @@ if test "$with_dln_a_out" != yes; then [enable_rpath=$enableval], [enable_rpath="$rb_cv_binary_elf"]) if test "$enable_rpath" = yes; then LIBPATHFLAG=" -L'%1\$-s'" - RPATHFLAG=" -Wl,-R'%1\$-s'" + if test "$GCC" = yes; then + RPATHFLAG=" -Wl,-R'%1\$-s'" + else + RPATHFLAG=" -R'%1\$-s'" + fi fi fi AC_SUBST(LINK_SO) |
