Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pkg-config file #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Chocobo1
Copy link

@Chocobo1 Chocobo1 commented May 13, 2022

  • Provide project information to autotools
  • Add pkg-config file

Resolves #65.

The generated libbacktrace.pc would look like this:

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libbacktrace
Description: A C library that may be linked into a C/C++ program to produce symbolic backtraces
URL: https://github.com/ianlancetaylor/libbacktrace
Version: 1.0
Cflags: -I${includedir}
Libs: -L${libdir} -lbacktrace

Note that the autotools scripts need to be regenerated and I consider it would be better done by the project maintainers.

@fsimonis
Copy link

Can we have this feature please? 🙏

This would greatly simplify the life of packagers and users alike!

@codeinred
Copy link

Boosting because this would be a nice feature!

johnsonjh added a commit to johnsonjh/libbacktrace that referenced this pull request Feb 2, 2023
@clopez
Copy link

clopez commented Oct 17, 2023

+2 for this.. please this is something basic for any library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider installing a pkg-config file
4 participants