Link static libraries statically (#277)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/277 Link all dynamically loaded libraries statically with the exception of libevent. Reviewed By: jknoxville Differential Revision: D9967422 fbshipit-source-id: b33cec5da0c2b34f47217353f205b9d77f1acae2
This commit is contained in:
committed by
Facebook Github Bot
parent
c0982ea1db
commit
cc6f28f7c4
@@ -39,6 +39,6 @@ list(APPEND src_files ${glog_DIR}/src/demangle.cc
|
||||
${glog_DIR}/src/vlog_is_on.cc
|
||||
)
|
||||
|
||||
add_library(${PACKAGE_NAME} SHARED ${src_files})
|
||||
add_library(${PACKAGE_NAME} STATIC ${src_files})
|
||||
install(TARGETS ${PACKAGE_NAME} DESTINATION ./build/)
|
||||
target_link_libraries(${PACKAGE_NAME})
|
||||
|
||||
Reference in New Issue
Block a user