Skip to content

Commit

Permalink
Merge PR #39566 into master
Browse files Browse the repository at this point in the history
* refs/pull/39566/head:
	cmake: build static libs if they are internal ones

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Feb 19, 2021
2 parents 316b4ad + df841b2 commit 198794a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/blk/CMakeLists.txt
Expand Up @@ -25,7 +25,7 @@ if(WITH_ZBD)
zoned/HMSMRDevice.cc)
endif()

add_library(blk ${libblk_srcs})
add_library(blk STATIC ${libblk_srcs})
target_include_directories(blk PRIVATE "./")

if(HAVE_LIBAIO)
Expand Down
2 changes: 1 addition & 1 deletion src/common/CMakeLists.txt
Expand Up @@ -213,7 +213,7 @@ elseif(HAVE_ARMV8_CRC)
crc32c_aarch64.c)
endif(HAVE_INTEL)

add_library(crc32 ${crc32_srcs})
add_library(crc32 STATIC ${crc32_srcs})
if(HAVE_ARMV8_CRC)
set_target_properties(crc32 PROPERTIES
COMPILE_FLAGS "${CMAKE_C_FLAGS} ${ARMV8_CRC_COMPILE_FLAGS}")
Expand Down

0 comments on commit 198794a

Please sign in to comment.