# Adds --coverage to the link step for env:native-test, so gcov's runtime
# (libgcov) gets linked alongside the instrumented objects. build_flags
# already pushes --coverage through compile; the linker needs it too or
# the program fails with undefined references to __gcov_init / etc.
Import("env")
env.Append(LINKFLAGS=["--coverage"])
