Issue #8315 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r47457.

----------
mkmf.rb: --cflags to $CXXFLAGS

* lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also
  $CXXFLAGS, as they are often used by C++ compiler.
  [ruby-core:54532] [Bug #8315]

----------------------------------------
Bug #8315: mkmf does not include include paths from pkg_config anymore
https://bugs.ruby-lang.org/issues/8315#change-48743

* Author: Hans Mackowiak
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: ext
* Target version: 
* ruby -v: trunk
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
#6504 does that, for cpp files `$CFLAGS` is not used anymore, so the problems are the include paths:

* there is no `$CXXFLAGS` global variable defined
* pkg_config does not add the includes paths to the correct `*FLAGS`


so my gems are currently broken for ruby trunk and if i fix that it may be broken for the older ruby 




-- 
https://bugs.ruby-lang.org/