Skip to content

Commit f61c9a9

Browse files
authored
[libc][CMake] Set library type of libcMPFRWrapper to STATIC (#99527)
Fixes linker errors due to hidden symbols when running CMake with -DBUILD_SHARED_LIBS=ON.
1 parent 2ec1a39 commit f61c9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/utils/MPFRWrapper/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if(LIBC_TESTS_CAN_USE_MPFR)
2-
add_library(libcMPFRWrapper
2+
add_library(libcMPFRWrapper STATIC
33
MPFRUtils.cpp
44
MPFRUtils.h
55
mpfr_inc.h

0 commit comments

Comments
 (0)