Skip to content

Commit a890a0a

Browse files
overmightyyuxuanchen1997
authored andcommitted
[libc][CMake] Set library type of libcMPFRWrapper to STATIC (#99527)
Summary: Fixes linker errors due to hidden symbols when running CMake with -DBUILD_SHARED_LIBS=ON. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251312
1 parent 11450c0 commit a890a0a

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)