orion / rpms / protobuf

Forked from rpms/protobuf 4 years ago
Clone
Blob Blame History Raw
diff --git a/third_party/utf8_range/CMakeLists.txt b/third_party/utf8_range/CMakeLists.txt
index 69a4d8990..002c0b566 100644
--- a/third_party/utf8_range/CMakeLists.txt
+++ b/third_party/utf8_range/CMakeLists.txt
@@ -11,7 +11,7 @@ option (utf8_range_ENABLE_INSTALL "Configure installation" ON)
 
 ##
 # Create the lightweight C library
-add_library (utf8_range STATIC
+add_library (utf8_range SHARED
   naive.c
   range2-neon.c
   range2-sse.c
@@ -19,7 +19,7 @@ add_library (utf8_range STATIC
 
 ##
 # A heavier-weight C++ wrapper that supports Abseil.
-add_library (utf8_validity STATIC utf8_validity.cc)
+add_library (utf8_validity SHARED utf8_validity.cc)
 
 # Load Abseil dependency.
 if (NOT TARGET absl::strings)