mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure.in: Info.plist workaround
* configure.in: workaround for Info.plist to get rid of `dsymutil` crash by wrong files in parent directories. [ruby-core:62594] [Bug #9840] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7bf10e8787
commit
003710957b
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed May 21 11:42:31 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: workaround for Info.plist to get rid of `dsymutil`
|
||||
crash by wrong files in parent directories.
|
||||
[ruby-core:62594] [Bug #9840]
|
||||
|
||||
Tue May 20 20:57:34 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* test/ruby/test_dir.rb (test_glob): added testcase of double
|
||||
|
|
|
@ -691,13 +691,22 @@ RUBY_WERROR_FLAG([
|
|||
]
|
||||
)
|
||||
AC_MSG_CHECKING([whether LDFLAGS is valid])
|
||||
{
|
||||
mkdir tmp.$$.try_link &&
|
||||
cd tmp.$$.try_link &&
|
||||
cp ../confdefs.h . &&
|
||||
echo '<?xml?><plist><dict><key>CFBundleIdentifier</key><string></string></dict></plist>' > Info.plist &&
|
||||
:
|
||||
} || AC_MSG_ERROR([faild to make temporary directory])
|
||||
AC_TRY_LINK([], [],
|
||||
[AC_MSG_RESULT(yes)],
|
||||
[
|
||||
cd .. && rm -fr tmp.$$.try_link
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_ERROR([something wrong with LDFLAGS="$LDFLAGS"])
|
||||
]
|
||||
)
|
||||
cd .. && rm -fr tmp.$$.try_link
|
||||
])
|
||||
|
||||
AC_DEFUN(RUBY_TRY_CFLAGS, [
|
||||
|
|
Loading…
Reference in a new issue