mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
media-sound/lms: respect LDFLAGS
Closes: https://bugs.gentoo.org/926807 Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
parent
00e6a75767
commit
4eeb7dd2e7
13
media-sound/lms/files/lms-respect-ldflags.patch
Normal file
13
media-sound/lms/files/lms-respect-ldflags.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 369ef896..d470a8ea 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -7,7 +7,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules/)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
||||
if (UNIX)
|
||||
- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
|
||||
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
|
||||
endif ()
|
||||
|
||||
include(CTest)
|
@ -37,7 +37,11 @@ BDEPEND="
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-fix-lib-dir.patch" "${FILESDIR}/${PN}-optional-tests.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-fix-lib-dir.patch"
|
||||
"${FILESDIR}/${PN}-optional-tests.patch"
|
||||
"${FILESDIR}/${PN}-respect-ldflags.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
append-flags -I/usr/include/stb/deprecated
|
||||
|
Loading…
x
Reference in New Issue
Block a user