[前][次][番号順一覧][スレッド一覧]

ruby-changes:30393

From: nobu <ko1@a...>
Date: Fri, 9 Aug 2013 22:51:23 +0900 (JST)
Subject: [ruby-changes:30393] nobu:r42472 (trunk): configure.in: CoreFoundation framework option

nobu	2013-08-09 22:51:13 +0900 (Fri, 09 Aug 2013)

  New Revision: 42472

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42472

  Log:
    configure.in: CoreFoundation framework option
    
    * configure.in (XLDFLAGS, LIBRUBYARG_STATIC): CoreFoundation framework
      option is now needed always, regardless enable-shared.
      [ruby-core:56467] [Bug #8759]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 42471)
+++ configure.in	(revision 42472)
@@ -3060,8 +3060,6 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/configure.in#L3060
 	LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "' $(XLDFLAGS)'
 	LIBRUBY_SO='lib$(RUBY_SO_NAME).dylib'
 	LIBRUBY_ALIASES='lib$(RUBY_BASE_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_INSTALL_NAME).dylib'
-	RUBY_APPEND_OPTION(XLDFLAGS, [-framework CoreFoundation])
-	RUBY_APPEND_OPTION(LIBRUBYARG_STATIC, [-framework CoreFoundation])
 	],
     [interix*], [
 	LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)'
@@ -3235,6 +3233,8 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.in#L3233
 	],
     [darwin*], [
 	RUBY_APPEND_OPTION(CFLAGS, -pipe)
+	RUBY_APPEND_OPTION(XLDFLAGS, [-framework CoreFoundation])
+	RUBY_APPEND_OPTION(LIBRUBYARG_STATIC, [-framework CoreFoundation])
 	],
     [os2-emx], [
 	AC_LIBOBJ([os2])
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42471)
+++ ChangeLog	(revision 42472)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Aug  9 22:51:10 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (XLDFLAGS, LIBRUBYARG_STATIC): CoreFoundation framework
+	  option is now needed always, regardless enable-shared.
+	  [ruby-core:56467] [Bug #8759]
+
 Fri Aug  9 22:20:51 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* ruby.c (load_file_internal): use rb_parser_compile_string_path and

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]