Skip to content

Commit

Permalink
bazel: don't produce .so files libraries (#783)
Browse files Browse the repository at this point in the history
Avoids extra link time.
  • Loading branch information
mattklein123 authored Apr 18, 2017
1 parent 20d52c3 commit 44b154b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bazel/envoy_build_system.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def envoy_cc_library(name,
],
include_prefix = envoy_include_prefix(PACKAGE_NAME),
alwayslink = 1,
linkstatic = 1,
)

def _git_stamped_genrule(repository, name):
Expand Down Expand Up @@ -204,6 +205,7 @@ def envoy_cc_test_library(name,
],
tags = tags,
alwayslink = 1,
linkstatic = 1,
)

# Envoy C++ mock targets should be specified with this function.
Expand Down Expand Up @@ -260,4 +262,5 @@ def envoy_proto_library(name, srcs = [], deps = []):
hdrs = [_proto_header(s) for s in srcs if _proto_header(s)],
include_prefix = envoy_include_prefix(PACKAGE_NAME),
deps = [internal_name],
linkstatic = 1,
)

0 comments on commit 44b154b

Please sign in to comment.