From 985abb23d63a90cd8d19cd922d6aafca3b9cf4cf Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Wed, 18 Oct 2023 11:31:29 -0700 Subject: [PATCH] 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. --- packager/hls/CMakeLists.txt | 6 ++---- packager/utils/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/packager/hls/CMakeLists.txt b/packager/hls/CMakeLists.txt index e5cf25e94d..a3b7f9d945 100644 --- a/packager/hls/CMakeLists.txt +++ b/packager/hls/CMakeLists.txt @@ -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 diff --git a/packager/utils/CMakeLists.txt b/packager/utils/CMakeLists.txt index 743b6ede62..ffd0d74956 100644 --- a/packager/utils/CMakeLists.txt +++ b/packager/utils/CMakeLists.txt @@ -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 -) \ No newline at end of file +)