mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
add libwebpdecoder.pc
Change-Id: Ifc47549a9fe206fa174236664345d3ee064849f5
This commit is contained in:
parent
a941a3463e
commit
bed1ed7c28
@ -285,7 +285,7 @@ AC_CONFIG_FILES([Makefile src/Makefile man/Makefile \
|
||||
src/enc/Makefile src/dsp/Makefile \
|
||||
src/demux/Makefile src/mux/Makefile \
|
||||
src/utils/Makefile \
|
||||
src/libwebp.pc])
|
||||
src/libwebp.pc src/libwebpdecoder.pc])
|
||||
|
||||
|
||||
AC_OUTPUT
|
||||
|
@ -33,6 +33,7 @@ libwebp_la_LIBADD += utils/libwebputils.la
|
||||
# symbols in shared libraries to be resolved at library creation.
|
||||
libwebp_la_LDFLAGS = -no-undefined -version-info 4:1:0
|
||||
libwebpincludedir = $(includedir)/webp
|
||||
pkgconfig_DATA = libwebp.pc
|
||||
|
||||
if BUILD_LIBWEBPDECODER
|
||||
libwebpdecoder_la_SOURCES =
|
||||
@ -47,7 +48,7 @@ if BUILD_LIBWEBPDECODER
|
||||
|
||||
libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 0:0:0
|
||||
libwebpdecoderincludedir = $(includedir)/webp
|
||||
pkgconfig_DATA += libwebpdecoder.pc
|
||||
endif
|
||||
|
||||
pkgconfig_DATA = libwebp.pc
|
||||
${pkgconfig_DATA}: ${top_builddir}/config.status
|
||||
|
11
src/libwebpdecoder.pc.in
Normal file
11
src/libwebpdecoder.pc.in
Normal file
@ -0,0 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libwebpdecoder
|
||||
Description: Library for the WebP graphics format (decode only)
|
||||
Version: @PACKAGE_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -lwebpdecoder
|
||||
Libs.private: -lm
|
Loading…
Reference in New Issue
Block a user