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:
parent
32723f81bc
commit
985abb23d6
|
@ -1,12 +1,10 @@
|
||||||
|
# Copyright 2023 Google LLC. All rights reserved.
|
||||||
# Copyright 2016 Google LLC. All rights reserved.
|
|
||||||
#
|
#
|
||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file or at
|
# license that can be found in the LICENSE file or at
|
||||||
# https://developers.google.com/open-source/licenses/bsd
|
# https://developers.google.com/open-source/licenses/bsd
|
||||||
|
|
||||||
|
add_library(hls_builder STATIC
|
||||||
add_library(hls_builder
|
|
||||||
base/hls_notifier.h
|
base/hls_notifier.h
|
||||||
base/master_playlist.cc
|
base/master_playlist.cc
|
||||||
base/master_playlist.h
|
base/master_playlist.h
|
||||||
|
|
|
@ -29,9 +29,9 @@ target_link_libraries(hex_bytes_flags
|
||||||
absl::strings
|
absl::strings
|
||||||
absl::flags)
|
absl::flags)
|
||||||
|
|
||||||
add_library(string_utils
|
add_library(string_utils STATIC
|
||||||
string_trim_split.cc
|
string_trim_split.cc
|
||||||
)
|
)
|
||||||
target_link_libraries(string_utils
|
target_link_libraries(string_utils
|
||||||
absl::strings
|
absl::strings
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue