From 09c02c14c08bcdbd3073180163c714a268864f1b Mon Sep 17 00:00:00 2001 From: MGTheTrain Date: Sat, 20 Apr 2024 11:31:33 +0200 Subject: [PATCH] [fix] - relocation R_X86_64_PC32 against symbol ff_pw_9 can not be used when making a shared object --- modules/video/src/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/video/src/CMakeLists.txt b/modules/video/src/CMakeLists.txt index 4ed2134..d4f2a97 100644 --- a/modules/video/src/CMakeLists.txt +++ b/modules/video/src/CMakeLists.txt @@ -36,7 +36,8 @@ set(VIDEO_SRC add_library(${TARGET} STATIC ${VIDEO_SRC}) target_link_libraries(${TARGET} PRIVATE ${FFMPEG_LIBRARIES} SDL2::SDL2) -add_library(${TARGET}_wrapper SHARED ${VIDEO_SRC}) # required for bindings -target_link_libraries(${TARGET}_wrapper PRIVATE ${FFMPEG_LIBRARIES} SDL2::SDL2) +# add_library(${TARGET}_wrapper SHARED ${VIDEO_SRC}) # required for bindings +# target_link_libraries(${TARGET}_wrapper PRIVATE ${FFMPEG_LIBRARIES} SDL2::SDL2) -install(TARGETS ${TARGET} ${TARGET}_wrapper) \ No newline at end of file +# install(TARGETS ${TARGET} ${TARGET}_wrapper) +install(TARGETS ${TARGET}) \ No newline at end of file