codec: videotoolbox: check if H264 needs restart
[vlc.git] / contrib / src / x265 / x265-ldl-linking.patch
blob2148b607635b75014044eb0398b4772e9b41d199
1 --- x265-1.9/source/CMakeLists.txt.orig 2016-01-25 06:16:50.000000000 +0100
2 +++ x265-1.9/source/CMakeLists.txt 2016-07-10 13:36:14.759323966 +0200
3 @@ -566,7 +566,7 @@
4 if(WIN32 OR NOT ENABLE_SHARED OR INTEL_CXX)
5 # The CLI cannot link to the shared library on Windows, it
6 # requires internal APIs not exported from the DLL
7 - target_link_libraries(cli x265-static ${PLATFORM_LIBS})
8 + target_link_libraries(cli x265-static ${PLATFORM_LIBS} ${CMAKE_DL_LIBS})
9 else()
10 target_link_libraries(cli x265-shared ${PLATFORM_LIBS})
11 endif()