mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-wireless/airspyhf: Always remove static lib
Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
This commit is contained in:
@@ -13,7 +13,7 @@ LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="udev static-libs"
|
||||
IUSE="udev"
|
||||
|
||||
DEPEND="dev-libs/libusb"
|
||||
|
||||
@@ -26,7 +26,7 @@ BDEPEND="virtual/pkgconfig"
|
||||
src_prepare(){
|
||||
sed -i "s@DESTINATION \"/etc/udev/rules.d\"@DESTINATION \"$(get_udevdir)/rules.d\"@" "tools/CMakeLists.txt" || die
|
||||
|
||||
use static-libs || eapply "${FILESDIR}/static.patch" || die
|
||||
eapply "${FILESDIR}/static.patch"
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
diff --git a/libairspyhf/src/CMakeLists.txt b/libairspyhf/src/CMakeLists.txt
|
||||
index 9d8d483..38d1b24 100644
|
||||
# Remove build steps related to static libs.
|
||||
# Bug: https://bugs.gentoo.org/934412
|
||||
|
||||
--- a/libairspyhf/src/CMakeLists.txt
|
||||
+++ b/libairspyhf/src/CMakeLists.txt
|
||||
@@ -46,16 +46,7 @@ add_library(airspyhf SHARED ${c_sources} ${AIRSPYHF_DLL_SRCS})
|
||||
Reference in New Issue
Block a user