pkgconfig: Define OPJ_STATIC for static linking with pkgconf 1421/head
authorBiswapriyo Nath <nathbappai@gmail.com>
Sun, 15 May 2022 12:41:45 +0000 (18:11 +0530)
committerBiswapriyo Nath <nathbappai@gmail.com>
Sun, 15 May 2022 12:41:50 +0000 (18:11 +0530)
commit17d1bc7f1af8e797d00c510edcfc263e1097a87e
tree07346e36a26ccb5e47d04077dc0c12051b13ad5f
parent46b42b616dfcd25f683997a5ebc38c657b128394
pkgconfig: Define OPJ_STATIC for static linking with pkgconf

allows for the usage of $(pkgconf --static --cflags libopenjp2) to produce
the proper CFLAGS for static linking. Relies on pkgconf rather than pkg-config
src/lib/openjp2/libopenjp2.pc.cmake.in
src/lib/openjpip/libopenjpip.pc.cmake.in