зеркало из https://github.com/github/ruby.git
* configure.in (mingw32): extract msvcr*.dll from objdump result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7b8fe2bcc7
Коммит
c7151a3f5e
|
@ -1,3 +1,7 @@
|
|||
Wed Apr 13 21:20:35 2005 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* configure.in (mingw32): extract msvcr*.dll from objdump result.
|
||||
|
||||
Wed Apr 13 19:25:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (mingw32): use actual runtime DLL name as ruby DLL
|
||||
|
|
|
@ -177,8 +177,8 @@ cygwin*|mingw*)
|
|||
AC_TRY_LINK([#include <stdio.h>],
|
||||
[FILE* volatile f = stdin; return 0;],
|
||||
[rb_cv_msvcrt=`$OBJDUMP -p conftest$ac_exeext |
|
||||
sed -n '/^[[ ]]*DLL Name: /{s///p;q;}' |
|
||||
tr A-Z a-z | sed 's/\.dll$//'`],
|
||||
tr A-Z a-z |
|
||||
sed -n '/^[[ ]]*dll name: \(msvc.*\)\.dll$/{s//\1/p;q;}'`],
|
||||
[rb_cv_msvcrt=msvcrt])])
|
||||
test "$rb_cv_msvcrt" = "" && AC_MSG_ERROR([must be linked to DLL])
|
||||
esac
|
||||
|
|
Загрузка…
Ссылка в новой задаче