1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
* Makefile.in (PROGRAM), configure.in (POSTLINK): sign built program
  using RUBY_CODESIGN identity.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-05-07 04:41:02 +00:00
parent 9be3aa1767
commit 0be8f81921
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon May 7 13:41:00 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in (PROGRAM), configure.in (POSTLINK): sign built program
using RUBY_CODESIGN identity.
Mon May 7 13:03:55 2012 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb (body_type_attachment): parse body type

View file

@ -73,6 +73,7 @@ ARCHMINIOBJS = @MINIOBJS@
BUILTIN_ENCOBJS = @BUILTIN_ENCOBJS@
BUILTIN_TRANSSRCS = @BUILTIN_TRANSSRCS@
BUILTIN_TRANSOBJS = @BUILTIN_TRANSOBJS@
POSTLINK = @POSTLINK@
RUBY_BASE_NAME=@RUBY_BASE_NAME@
RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@
@ -175,6 +176,7 @@ $(PROGRAM):
@$(RM) $@
$(ECHO) linking $@
$(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) $(OUTFLAG)$@
$(Q) $(POSTLINK)
# We must `rm' the library each time this rule is invoked because "updating" a
# MAB library on Apple/NeXT (see --enable-fat-binary in configure) is not

View file

@ -1059,6 +1059,11 @@ main()
if test "$rb_cv_broken_crypt" = yes; then
AC_DEFINE(BROKEN_CRYPT, 1)
fi
if test "${RUBY_CODESIGN:+set}"; then
AC_CHECK_PROGS(codesign, codesign)
POSTLINK="$ac_cv_prog_codesign -s '$RUBY_CODESIGN' -f \$@"
AC_SUBST(POSTLINK)
fi
],
[hpux*], [ LIBS="-lm $LIBS"
ac_cv_c_inline=no],