Issue #8315 has been updated by Tomoyuki Chikanaga.


Sorry, r47587 breaks build of digests/*.

I overlooked r44459 and r44460 because they seems a new feature (and there's no ticket for these commits).
But I think r44459 is rather a bug fix for degrade introduced by r39994.
I additionally backported r44459 and r44470 to check if they fix build error on RubyCI.

usa san, how do you think? `ruby_2_0_0` includes r39994 too.

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

* Author: Hans Mackowiak
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: ext
* Target version: 
* ruby -v: trunk
* Backport: 2.0.0: REQUIRED, 2.1: DONE
----------------------------------------
#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/