replace ::cast_dynamic() with relevant ActionManager::get_*_action() calls
[ardour.git] / tools / waflib.patch
1 diff --git a/waflib/Tools/c_config.py b/waflib/Tools/c_config.py
2 index ee1c5c2..0672f3d 100644
3 --- a/waflib/Tools/c_config.py
4 +++ b/waflib/Tools/c_config.py
5 @@ -150,6 +150,8 @@ def parse_flags(self, line, uselib, env=None, force_static=False):
6                 elif st == '-L':
7                         if not ot: ot = lst.pop(0)
8                         appu('LIBPATH_' + uselib, [ot])
9 +               elif x.startswith('-std=c++'):
10 +                       app('CXXFLAGS_' + uselib, [x])
11                 elif x == '-pthread' or x.startswith('+') or x.startswith('-std'):
12                         app('CFLAGS_' + uselib, [x])
13                         app('CXXFLAGS_' + uselib, [x])