0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 19:09:46 +00:00
Lakka-LibreELEC/packages/audio/fluidsynth/patches/libsndfile-use-static-libraries.patch
2023-04-28 11:56:54 +00:00

11 lines
528 B
Diff

--- a/CMakeLists.txt 2023-04-02 15:54:17.000000000 +0000
+++ b/CMakeLists.txt 2023-04-14 15:18:28.037536898 +0000
@@ -539,6 +539,7 @@
list( APPEND PC_REQUIRES_PRIV "sndfile")
if ( SndFile_WITH_EXTERNAL_LIBS )
set ( LIBSNDFILE_HASVORBIS 1 )
+ set ( LIBSNDFILE_LIBRARIES ${LIBSNDFILE_STATIC_LIBRARIES} )
else (SndFile_WITH_EXTERNAL_LIBS)
message ( NOTICE "Seems like libsndfile was compiled without OGG/Vorbis support." )
endif (SndFile_WITH_EXTERNAL_LIBS)