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
This commit is contained in:
parent
46b42b616d
commit
17d1bc7f1a
|
@ -12,3 +12,4 @@ Version: @OPENJPEG_VERSION@
|
|||
Libs: -L${libdir} -lopenjp2
|
||||
Libs.private: -lm
|
||||
Cflags: -I${includedir}
|
||||
Cflags.private: -DOPJ_STATIC
|
||||
|
|
|
@ -13,3 +13,4 @@ Requires: libopenjp2
|
|||
Libs: -L${libdir} -lopenjpip
|
||||
Libs.private: -lm -lcurl -lfcgi -lpthread
|
||||
Cflags: -I${includedir}
|
||||
Cflags.private: -DOPJ_STATIC
|
||||
|
|
Loading…
Reference in New Issue