diff options
| -rw-r--r-- | ports/hunspell/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/hunspell/CONTROL | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/hunspell/CMakeLists.txt b/ports/hunspell/CMakeLists.txt index 810c894f7..dd3715a10 100644 --- a/ports/hunspell/CMakeLists.txt +++ b/ports/hunspell/CMakeLists.txt @@ -60,6 +60,10 @@ set(LIBHUNSPELL_HDRS #hunspell/libhunspell add_library(libhunspell ${LIBHUNSPELL_HDRS} ${LIBHUNSPELL_SRCS}) + +#Avoid automatically added lib prefix 'lib' for hunspell +set_target_properties(libhunspell PROPERTIES PREFIX "") + target_compile_definitions(libhunspell PRIVATE -DBUILDING_LIBHUNSPELL) install(TARGETS libhunspell ARCHIVE DESTINATION lib diff --git a/ports/hunspell/CONTROL b/ports/hunspell/CONTROL index 967cc32c5..229d5ca93 100644 --- a/ports/hunspell/CONTROL +++ b/ports/hunspell/CONTROL @@ -1,5 +1,6 @@ Source: hunspell -Version: 1.7.0-1 +Version: 1.7.0 +Port-Version: 2 Homepage: https://github.com/hunspell/hunspell Description: The most popular spellchecking library. |
