Skip to content

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