Add libboinc_zip.pc pkg-config file

This commit is contained in:
Anna “CyberTailor” 2021-11-10 00:09:15 +05:00
parent 9fcaf6786d
commit a57b7e46be
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
3 changed files with 14 additions and 0 deletions

View File

@ -1385,6 +1385,7 @@ AC_CONFIG_FILES([
tools/Makefile
vda/Makefile
zip/Makefile
zip/libboinc_zip.pc
zip/zip/Makefile
zip/unzip/Makefile
m4/Makefile

View File

@ -60,6 +60,7 @@ libboinc_zip_sources += \
endif
lib_LTLIBRARIES = libboinc_zip.la
pkgconfig_DATA = libboinc_zip.pc
libboinc_zip_la_SOURCES = $(libboinc_zip_sources)
libboinc_zip_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
libboinc_zip_la_LIBADD =

12
zip/libboinc_zip.pc.in Normal file
View File

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: boinc_zip
Description: Compression functions for BOINC applications
Version: @PACKAGE_VERSION@
URL: https://boinc.berkeley.edu/trac/wiki/FileCompression
Cflags: -I${includedir}/boinc
Libs: -L${libdir} -lboinc_zip