From 33142e58ebd576085a076f4ce24881d20b3c4ef5 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 11 Nov 2026 01:41:00 -0600 Subject: [PATCH] Update moonlight-common-c --- libgamestream/CMakeLists.txt | 12 ++++++++++-- third_party/moonlight-common-c | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/libgamestream/CMakeLists.txt b/libgamestream/CMakeLists.txt index d8dd04e..917d036 100644 --- a/libgamestream/CMakeLists.txt +++ b/libgamestream/CMakeLists.txt @@ -13,7 +13,11 @@ aux_source_directory(../third_party/h264bitstream GAMESTREAM_SRC_LIST) aux_source_directory(../third_party/moonlight-common-c/enet MOONLIGHT_COMMON_SRC_LIST) aux_source_directory(../third_party/moonlight-common-c/src MOONLIGHT_COMMON_SRC_LIST) -aux_source_directory(../third_party/moonlight-common-c/reedsolomon MOONLIGHT_COMMON_SRC_LIST) +list(APPEND MOONLIGHT_COMMON_SRC_LIST + ../third_party/moonlight-common-c/nanors/rs.c + ../third_party/moonlight-common-c/nanors/deps/obl/oblas_common.c + ../third_party/moonlight-common-c/nanors/deps/obl/oblas_lite.c +) add_library(moonlight-common SHARED ${MOONLIGHT_COMMON_SRC_LIST}) @@ -24,7 +28,11 @@ set_target_properties(gamestream PROPERTIES SOVERSION ${SO_VERSION} VERSION ${PR set_target_properties(moonlight-common PROPERTIES SOVERSION ${SO_VERSION} VERSION ${PROJECT_VERSION}) target_include_directories(gamestream PRIVATE ../third_party/moonlight-common-c/src ../third_party/h264bitstream ${AVAHI_INCLUDE_DIRS} ${LibUUID_INCLUDE_DIRS}) -target_include_directories(moonlight-common PRIVATE ../third_party/moonlight-common-c/reedsolomon ../third_party/moonlight-common-c/enet/include) +target_include_directories(moonlight-common + PRIVATE + ../third_party/moonlight-common-c/nanors + ../third_party/moonlight-common-c/nanors/deps/obl + ../third_party/moonlight-common-c/enet/include) target_link_libraries(gamestream ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} ${EXPAT_LIBRARIES} ${AVAHI_LIBRARIES} ${LibUUID_LIBRARIES}) target_link_libraries(gamestream ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS}) diff --git a/third_party/moonlight-common-c b/third_party/moonlight-common-c index b126e48..e44e429 160000 --- a/third_party/moonlight-common-c +++ b/third_party/moonlight-common-c @@ -1 +1 @@ -Subproject commit b126e481a195fdc7152d211def17190e3434bcce +Subproject commit e44e4290ed19de4812dad0ac11211832598a6a34