diff options
author | Nicolas Noble <nnoble@google.com> | 2015-01-13 16:56:18 -0800 |
---|---|---|
committer | Nicolas Noble <nnoble@google.com> | 2015-01-13 16:56:18 -0800 |
commit | 9e47552e53e7c7531e63560af3b017ad82ff4cef (patch) | |
tree | bfba8437ceeba4dc07a0a47a87851e00db9c2af8 /templates | |
parent | 7752779c3bd3396e7e976c0cad4a6c24fc42623e (diff) |
Don't mix C and C++ libraries.
Now buildtests_c won't try to build C++ libraries.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/Makefile.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template index d0ebb10240..798e7e3377 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -329,7 +329,7 @@ privatelibs: privatelibs_c privatelibs_cxx privatelibs_c: dep_c\ % for lib in libs: -% if lib.build == 'private': +% if lib.build == 'private' and not lib.get('c++', False): libs/$(CONFIG)/lib${lib.name}.a\ % endif % endfor @@ -337,7 +337,7 @@ privatelibs_c: dep_c\ privatelibs_cxx: dep_cxx\ % for lib in libs: -% if lib.build == 'private': +% if lib.build == 'private' and lib.get('c++', False): libs/$(CONFIG)/lib${lib.name}.a\ % endif % endfor |