Skip to content

Commit 4ecdd8b

Browse files
unicode-query is now linked statically on UNIX platforms.
1 parent 33dd9c6 commit 4ecdd8b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 0.2.1 (unreleased)
22

33
- Fixes unicode-query's output for "character width".
4+
- unicode-query is now linked statically on UNIX platforms.
45

56
## 0.2.0 (2022-11-13)
67

src/tools/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ if(LIBUNICODE_TOOLS)
88

99
add_executable(unicode-query unicode-query.cpp)
1010
target_link_libraries(unicode-query unicode)
11+
if(UNIX)
12+
target_link_libraries(unicode-query "-static")
13+
endif()
1114
install(TARGETS unicode-query DESTINATION bin)
1215
endif()

0 commit comments

Comments
 (0)