1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 13:56:19 +00:00
Lakka-LibreELEC/packages/addons/service/oscam/patches/oscam-02-link-with-ludev.patch
2021-06-20 12:57:48 +02:00

23 lines
1.1 KiB
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -498,7 +498,7 @@ add_library (${csoscam} STATIC ${csoscam
set (exe_name "oscam")
add_executable (${exe_name} ${exe_srcs} ${exe_hdrs})
-target_link_libraries (${exe_name} ${csoscam} ${csmodules} ${csreaders} csctapi cscrypt minilzo)
+target_link_libraries (${exe_name} ${csoscam} ${csmodules} ${csreaders} csctapi cscrypt minilzo udev)
if(HAVE_LIBRT AND HAVE_LIBUSB)
if (LIBUSBDIR)
set (libusb_link "imp_libusb")
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -12,7 +12,7 @@ file (GLOB all_srcs ${exe_srcs})
set (util_name "list_smargo")
add_executable (${util_name} ${exe_srcs} ${exe_hdrs})
-target_link_libraries (${util_name} ${libusb_link} ${rt_link} ${setupapi_link} ${ole32_link} ${shell32_link} ${pthread_link} ${dl_link})
+target_link_libraries (${util_name} ${libusb_link} ${rt_link} ${setupapi_link} ${ole32_link} ${shell32_link} ${pthread_link} ${dl_link} udev)
#----------------------- printout resume -----------------------------
message (STATUS "Utils: operating system: ${OSCamOperatingSystem}")