Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
[fix] - relocation R_X86_64_PC32 against symbol ff_pw_9 can not be us…
Browse files Browse the repository at this point in the history
…ed when making a shared object
  • Loading branch information
MGTheTrain committed Apr 20, 2024
1 parent 1356810 commit 09c02c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/video/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
# install(TARGETS ${TARGET} ${TARGET}_wrapper)
install(TARGETS ${TARGET})

0 comments on commit 09c02c1

Please sign in to comment.