Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. --- a/tools/depends/target/ffmpeg/CMakeLists.txt 2019-07-18 11:05:21.000000000 -0400
  2. +++ b/tools/depends/target/ffmpeg/CMakeLists.txt 2019-07-25 16:22:19.506991490 -0400
  3. @@ -19,7 +19,7 @@ if(CROSSCOMPILING)
  4. endif()
  5.  
  6. #if(CORE_PLATFORM_NAME STREQUAL rbpi)
  7. - string(CONCAT CMAKE_C_FLAGS ${CMAKE_C_FLAGS} " -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux")
  8. + string(CONCAT CMAKE_C_FLAGS ${CMAKE_C_FLAGS} " -I/build/kodi-rbp4/src/opt/vc/include -I/build/kodi-rbp4/src/opt/vc/include/interface/vcos/pthreads -I/build/kodi-rbp4/src/opt/vc/include/interface/vmcs_host/linux")
  9. list(APPEND ffmpeg_conf --enable-rpi --disable-ffmpeg --disable-ffprobe)
  10. #endif()
  11.  
  12. @@ -31,6 +31,8 @@ if(CMAKE_CXX_FLAGS)
  13. list(APPEND ffmpeg_conf --extra-cxxflags=${CMAKE_CXX_FLAGS})
  14. endif()
  15.  
  16. +string(CONCAT CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} " -L/build/kodi-rbp4/src/opt/vc/lib")
  17. +
  18. if(CMAKE_EXE_LINKER_FLAGS)
  19. list(APPEND ffmpeg_conf --extra-ldflags=${CMAKE_EXE_LINKER_FLAGS})
  20. endif()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement