Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Simmphonie:python310
python-fasttext
no-static-lib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-static-lib.patch of Package python-fasttext
From: Jiri Slaby <jslaby@suse.cz> Subject: [PATCH] no static lib Patch-mainline: no We do not want those. Link against shared instead. --- CMakeLists.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,22 +57,13 @@ if (NOT MSVC) endif() add_library(fasttext-shared SHARED ${SOURCE_FILES} ${HEADER_FILES}) -add_library(fasttext-static STATIC ${SOURCE_FILES} ${HEADER_FILES}) -add_library(fasttext-static_pic STATIC ${SOURCE_FILES} ${HEADER_FILES}) set_target_properties(fasttext-shared PROPERTIES OUTPUT_NAME fasttext SOVERSION "${fasttext_VERSION_MAJOR}") -set_target_properties(fasttext-static PROPERTIES OUTPUT_NAME fasttext) -set_target_properties(fasttext-static_pic PROPERTIES OUTPUT_NAME fasttext_pic - POSITION_INDEPENDENT_CODE True) add_executable(fasttext-bin src/main.cc) -target_link_libraries(fasttext-bin pthread fasttext-static) +target_link_libraries(fasttext-bin pthread fasttext-shared) set_target_properties(fasttext-bin PROPERTIES PUBLIC_HEADER "${HEADER_FILES}" OUTPUT_NAME fasttext) install (TARGETS fasttext-shared LIBRARY DESTINATION lib) -install (TARGETS fasttext-static - ARCHIVE DESTINATION lib) -install (TARGETS fasttext-static_pic - ARCHIVE DESTINATION lib) install (TARGETS fasttext-bin RUNTIME DESTINATION bin PUBLIC_HEADER DESTINATION include/fasttext)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor