Add libboinc.pc pkg-config file

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

View File

@ -1352,6 +1352,7 @@ AC_CONFIG_FILES([
doc/manpages/Makefile
html/Makefile
lib/Makefile
lib/libboinc.pc
locale/Makefile
Makefile
py/Boinc/version.py

View File

@ -183,6 +183,7 @@ noinst_HEADERS = \
unix_util.h
lib_LTLIBRARIES = libboinc.la
pkgconfig_DATA = libboinc.pc
libboinc_la_SOURCES = $(generic_sources) $(mac_sources) $(win_sources)
libboinc_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
libboinc_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)

13
lib/libboinc.pc.in Normal file
View File

@ -0,0 +1,13 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: boinc
Description: BOINC library
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}/boinc
Cflags.private: @PTHREAD_CFLAGS@
Libs: -L${libdir} -lboinc
Libs.private: @PTHREAD_LIBS@