diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /net-wireless/airspy/files | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'net-wireless/airspy/files')
-rw-r--r-- | net-wireless/airspy/files/airspy-1.0.10-remove-static-libs.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-wireless/airspy/files/airspy-1.0.10-remove-static-libs.patch b/net-wireless/airspy/files/airspy-1.0.10-remove-static-libs.patch new file mode 100644 index 000000000000..ce4befc6cc29 --- /dev/null +++ b/net-wireless/airspy/files/airspy-1.0.10-remove-static-libs.patch @@ -0,0 +1,41 @@ +--- a/libairspy/src/CMakeLists.txt ++++ b/libairspy/src/CMakeLists.txt +@@ -57,16 +57,7 @@ + ) + endif( ${WIN32} ) + +-# Static library +-add_library(airspy-static STATIC ${c_sources}) +-if(MSVC) +- set_target_properties(airspy-static PROPERTIES OUTPUT_NAME "airspy_static") +-else() +- set_target_properties(airspy-static PROPERTIES OUTPUT_NAME "airspy") +-endif() +- + set_target_properties(airspy PROPERTIES CLEAN_DIRECT_OUTPUT 1) +-set_target_properties(airspy-static PROPERTIES CLEAN_DIRECT_OUTPUT 1) + + # Dependencies + target_link_libraries(airspy ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +@@ -82,10 +73,6 @@ + LIBRARY DESTINATION lib${LIB_SUFFIX} + COMPONENT sharedlibs + ) +- install(TARGETS airspy-static +- ARCHIVE DESTINATION lib${LIB_SUFFIX} +- COMPONENT staticlibs +- ) + install(FILES ${c_headers} + DESTINATION include/${PROJECT_NAME} + COMPONENT headers +@@ -97,10 +84,6 @@ + DESTINATION bin + COMPONENT sharedlibs + ) +- install(TARGETS airspy-static +- DESTINATION bin +- COMPONENT staticlibs +- ) + install(FILES ${c_headers} + DESTINATION include/${PROJECT_NAME} + COMPONENT headers |