Skip to content

Commit

Permalink
[libsrt] minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rremilian committed Feb 23, 2025
1 parent 65cdea1 commit 03be7f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions ports/libsrt/fix-tool.patch
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ed11ef..061fead 100644
index 7ed11ef..4ccdcb7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1384,12 +1384,13 @@ if (ENABLE_APPS)
@@ -1384,11 +1384,13 @@ if (ENABLE_APPS)

# Applications

- srt_add_application(srt-live-transmit ${VIRTUAL_srtsupport})
+ srt_add_application(srt-live-transmit ${VIRTUAL_srtsupport} ${VIRTUAL_srt})
+ target_link_libraries(srt-live-transmit ${SSL_LIBRARIES})
+ srt_add_application(srt-live-transmit ${VIRTUAL_srtsupport} ${VIRTUAL_srt})
+ target_link_libraries(srt-live-transmit ${SSL_LIBRARIES})
if (DEFINED EXTRA_stransmit)
set_target_properties(srt-live-transmit PROPERTIES COMPILE_FLAGS "${EXTRA_stransmit}")
endif()
- srt_add_application(srt-file-transmit ${VIRTUAL_srtsupport})
-
+ srt_add_application(srt-file-transmit ${VIRTUAL_srtsupport} ${VIRTUAL_srt})
+ target_link_libraries(srt-file-transmit ${SSL_LIBRARIES})

if (MINGW)
# FIXME: with MINGW, it fails to build apps that require C++11
# https://github.com/Haivision/srt/issues/177
@@ -1397,7 +1398,8 @@ if (ENABLE_APPS)
@@ -1397,7 +1399,8 @@ if (ENABLE_APPS)
else()
# srt-multiplex temporarily blocked
#srt_add_application(srt-multiplex ${VIRTUAL_srtsupport})
Expand Down
2 changes: 1 addition & 1 deletion versions/l-/libsrt.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "fcf92f9595cd6e15e72b129429b07f10e85c1a29",
"git-tree": "65e3b86494fde1d85ffe946756219fb999614912",
"version": "1.5.4",
"port-version": 0
},
Expand Down

0 comments on commit 03be7f8

Please # to comment.