Windows pkgconfig fix

This corrects the zlib.pc file for the MinGW build so that it correctly
references the library and include folders
This commit is contained in:
Matt Clarkson 2014-07-30 10:55:42 +01:00 committed by Matt Clarkson
parent 5089329162
commit c443b85d31
1 changed files with 4 additions and 4 deletions

View File

@ -141,10 +141,10 @@ install: zlib.h zconf.h $(STATICLIB) $(IMPLIB)
-$(INSTALL) $(STATICLIB) '$(DESTDIR)$(LIBRARY_PATH)'
sed \
-e 's|@prefix@|${prefix}|g' \
-e 's|@exec_prefix@|${exec_prefix}|g' \
-e 's|@libdir@|$(LIBRARY_PATH)|g' \
-e 's|@sharedlibdir@|$(LIBRARY_PATH)|g' \
-e 's|@includedir@|$(INCLUDE_PATH)|g' \
-e 's|@exec_prefix@|$${prefix}|g' \
-e 's|@libdir@|$${exec_prefix}$(LIBRARY_PATH)|g' \
-e 's|@sharedlibdir@|$${exec_prefix}$(LIBRARY_PATH)|g' \
-e 's|@includedir@|$${prefix}$(INCLUDE_PATH)|g' \
-e 's|@VERSION@|'`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' zlib.h`'|g' \
zlib.pc.in > '$(DESTDIR)$(LIBRARY_PATH)'/pkgconfig/zlib.pc