zlib: install pc file
Joshua Immanuel reported, and provided a patch to fix, that our custom autotooling for zlib does not install the pc file. Fixes [YOCTO #1983] Patch-from: Joshua Immanuel <josh@hipro.co.in> (From OE-Core rev: 37fbe2e1a706af634f400213b9fb4c6f0670c15e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4039b5b97c
commit
ac63b3f8ef
|
@ -7,3 +7,6 @@ libz_la_SOURCES = adler32.c compress.c crc32.c gzlib.c gzclose.c gzread.c \
|
|||
libz_la_LDFLAGS = -version-number 1:2:5 --version-script zlib.map
|
||||
|
||||
include_HEADERS = zconf.h zlib.h zlibdefs.h
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = zlib.pc
|
||||
|
|
|
@ -43,6 +43,11 @@ cat > zlibdefs.h << EOF
|
|||
#endif
|
||||
EOF
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_SUBST(sharedlibdir,$libdir)
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
zlib.pc
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
|
|
@ -7,7 +7,7 @@ LICENSE = "Zlib"
|
|||
LIC_FILES_CHKSUM = "file://zlib.h;beginline=4;endline=23;md5=084e9c30e4e6272c3b057b13c6467f3d"
|
||||
|
||||
DEPENDS = "libtool-cross"
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "http://www.zlib.net/${BPN}-${PV}.tar.bz2 \
|
||||
file://configure.ac \
|
||||
|
|
Loading…
Reference in New Issue