diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-29 21:23:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-29 21:23:22 +0100 |
commit | 15a738a098c486b6ec6d624050dd98826f9c2d3f (patch) | |
tree | 7b170748ee082c6db9b27bbc34b34b27e2e9873b /net-libs/libhackrf/files | |
parent | 3a2444aaf0bafd5c58c0dc8dda102352f20c76d8 (diff) |
gentoo auto-resync : 29:09:2022 - 21:23:22
Diffstat (limited to 'net-libs/libhackrf/files')
-rw-r--r-- | net-libs/libhackrf/files/hackrf-disable-static-2022.09.1.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-libs/libhackrf/files/hackrf-disable-static-2022.09.1.patch b/net-libs/libhackrf/files/hackrf-disable-static-2022.09.1.patch new file mode 100644 index 000000000000..f7e9fa39cc5e --- /dev/null +++ b/net-libs/libhackrf/files/hackrf-disable-static-2022.09.1.patch @@ -0,0 +1,30 @@ +diff -Naur libhackrf-orig/src/CMakeLists.txt libhackrf/src/CMakeLists.txt +--- libhackrf-orig/src/CMakeLists.txt 2022-09-29 09:47:10.899630179 -0400 ++++ libhackrf/src/CMakeLists.txt 2022-09-29 09:47:30.835629516 -0400 +@@ -31,15 +31,11 @@ + set_target_properties(hackrf PROPERTIES VERSION ${MAJOR_VERSION}.${MINOR_VERSION}.0 SOVERSION 0) + + # Static library +-add_library(hackrf-static STATIC ${c_sources}) + if(MSVC) + set_target_properties(hackrf-static PROPERTIES OUTPUT_NAME "hackrf_static") +-else() +- set_target_properties(hackrf-static PROPERTIES OUTPUT_NAME "hackrf") + endif() + + set_target_properties(hackrf PROPERTIES CLEAN_DIRECT_OUTPUT 1) +-set_target_properties(hackrf-static PROPERTIES CLEAN_DIRECT_OUTPUT 1) + + # Dependencies + target_link_libraries(hackrf ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +@@ -55,10 +51,6 @@ + LIBRARY DESTINATION lib${LIB_SUFFIX} + COMPONENT sharedlibs + ) +- install(TARGETS hackrf-static +- ARCHIVE DESTINATION lib${LIB_SUFFIX} +- COMPONENT staticlibs +- ) + install(FILES ${c_headers} + DESTINATION include/${PROJECT_NAME} + COMPONENT headers |