fix: Fix internal libraries built as dynamic by default (#1283)

This caused issues with some shared library link tests when I tried to
split the library target into shared and static targets.
This commit is contained in:
Joey Parrish 2023-10-18 11:31:29 -07:00 committed by GitHub
parent 32723f81bc
commit 985abb23d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -1,12 +1,10 @@
# Copyright 2016 Google LLC. All rights reserved.
# Copyright 2023 Google LLC. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
add_library(hls_builder
add_library(hls_builder STATIC
base/hls_notifier.h
base/master_playlist.cc
base/master_playlist.h

View File

@ -29,9 +29,9 @@ target_link_libraries(hex_bytes_flags
absl::strings
absl::flags)
add_library(string_utils
add_library(string_utils STATIC
string_trim_split.cc
)
target_link_libraries(string_utils
absl::strings
)
)