Skip to content

Commit

Permalink
libmfx: fix .pc filename
Browse files Browse the repository at this point in the history
Recent ffmpeg will look for 'mfx.pc' instead
  • Loading branch information
shinchiro committed May 25, 2022
1 parent 46f63c0 commit 57f5a85
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/libmfx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ ExternalProject_Add(libmfx
LOG_DOWNLOAD 1 LOG_UPDATE 1 LOG_CONFIGURE 1 LOG_BUILD 1 LOG_INSTALL 1
)

ExternalProject_Add_Step(libmfx fix-pc
DEPENDEES install
WORKING_DIRECTORY ${MINGW_INSTALL_PREFIX}/lib/pkgconfig
COMMAND mv libmfx.pc mfx.pc
)

force_rebuild_git(libmfx)
autoreconf(libmfx)
cleanup(libmfx install)
cleanup(libmfx fix-pc)

0 comments on commit 57f5a85

Please sign in to comment.