void-packages/srcpkgs/bcmatroska2/patches/linking.patch

22 lines
622 B
Diff

--- a/corec/corec/CMakeLists.txt 2022-11-29 11:25:07.000000000 +0100
+++ - 2023-01-06 19:32:45.598386210 +0100
@@ -52,7 +52,6 @@
else()
list(APPEND COREC_SOURCES
helpers/date/date_libc.c
- helpers/file/file_libc.c
helpers/file/file_bctbx.c
multithread/multithread_pthread.c
)
--- a/libmatroska2/CMakeLists.txt 2022-11-29 11:25:07.000000000 +0100
+++ - 2023-01-06 19:35:18.813490108 +0100
@@ -26,7 +26,7 @@
matroska_sem.c
)
-set(LIBS )
+set(LIBS bctoolbox)
if(WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
list(APPEND LIBS Winmm)
endif()