Skip to content

Commit c41d128

Browse files
authored
Compile internal file_parsers lib always statically (#51)
Otherwise, depending on BUILD_SHARED_LIBS default, it may be compiled dynamically. However, the resulting DSO currently would not be installed, resulting in unusable installed blisp binary. Co-authored-by: Schdro <>
1 parent d2fef0a commit c41d128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/blisp/src/file_parsers/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ file(GLOB_RECURSE sources
88
)
99
list(APPEND ADD_SRCS ${sources})
1010

11-
add_library(file_parsers
11+
add_library(file_parsers STATIC
1212
"${CMAKE_CURRENT_SOURCE_DIR}/bin/bin_file.c"
1313
"${CMAKE_CURRENT_SOURCE_DIR}/dfu/dfu_file.c"
1414
"${CMAKE_CURRENT_SOURCE_DIR}/dfu/dfu_crc.c"

0 commit comments

Comments
 (0)