Commit 367518f6 authored by levosos's avatar levosos Committed by Rodrigo Queiro

copts are passed correctly when building w/o gflags

resolves #338
parent 046f441a
...@@ -73,10 +73,10 @@ def glog_library(namespace='google', with_gflags=1): ...@@ -73,10 +73,10 @@ def glog_library(namespace='google', with_gflags=1):
# Include generated header files. # Include generated header files.
'-I%s/glog_internal' % gendir, '-I%s/glog_internal' % gendir,
] + [ ] + ([
# Use gflags to parse CLI arguments. # Use gflags to parse CLI arguments.
'-DHAVE_LIB_GFLAGS', '-DHAVE_LIB_GFLAGS',
] if with_gflags else [], ] if with_gflags else []),
deps = [ deps = [
'@com_github_gflags_gflags//:gflags', '@com_github_gflags_gflags//:gflags',
] if with_gflags else [], ] if with_gflags else [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment