Skip to content

Commit

Permalink
pkgconf: add UAVIF_DLL for static linking with pkgconf (AOMediaCodec#…
Browse files Browse the repository at this point in the history
…1904)

allows for the usage of `pkgconf --static --cflags libavif' to produce
the proper CFLAGS for static linking. Relies on pkgconf rather than pkg-config.
  • Loading branch information
Biswa96 authored Dec 28, 2023
1 parent a9709d3 commit 91db4e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavif.pc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Description: Library for encoding and decoding .avif files
Version: @PROJECT_VERSION@
Libs: -L${libdir} -lavif
Cflags: -I${includedir}@AVIF_PKG_CONFIG_EXTRA_CFLAGS@
Cflags.private: -UAVIF_DLL

0 comments on commit 91db4e0

Please sign in to comment.