Skip to content

Commit db8ffa2

Browse files
afrindmeta-codesync[bot]
authored andcommitted
Static lib handling for libevent
Summary: Add shared_libs=off conditional section to the libevent manifest to set EVENT__LIBRARY_TYPE=STATIC when building static libraries. Reviewed By: bigfootjon Differential Revision: D93644393 fbshipit-source-id: 90f1ec11981d5d2e1676847b0ff1e94e29bd092c
1 parent 418d36c commit db8ffa2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/fbcode_builder/manifests/libevent

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ EVENT__DISABLE_REGRESS = ON
3434
[cmake.defines.shared_libs=on]
3535
EVENT__BUILD_SHARED_LIBRARIES = ON
3636

37+
[cmake.defines.shared_libs=off]
38+
EVENT__LIBRARY_TYPE = STATIC
39+
3740
[cmake.defines.os=windows]
3841
EVENT__LIBRARY_TYPE = STATIC
3942

0 commit comments

Comments
 (0)