sandbox.cabal
pkgconfig-depends: libavcodec
Main.hs
foreign import capi "libavcodec/avcodec.h avcodec_version"
c_avcodecVersion :: CInt
Just wanted to know how I would be able to add C libraries especially using the pkgconfig-depends
in cabal. Currently lost on where to add pkgs.ffmpeg.lib
and pkgs.ffmpeg.dev
.
Last updated: Dec 26 2024 at 11:45 UTC