Skip to content

Commit

Permalink
Add pkg-config file (upstream PR ianlancetaylor#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonjh committed Feb 2, 2023
1 parent cc9b2e3 commit 4ec9a6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ libbacktrace_la_LIBADD = \

libbacktrace_la_DEPENDENCIES = $(libbacktrace_la_LIBADD)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbacktrace.pc

# Testsuite.

# Add a test to this variable if you want it to be built as a program,
Expand Down
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
# POSSIBILITY OF SUCH DAMAGE.

AC_PREREQ(2.69)
AC_INIT(package-unused, version-unused,, libbacktrace)
AC_INIT(libbacktrace, 1.0, https://github.com/ianlancetaylor/libbacktrace/issues,
libbacktrace, https://github.com/ianlancetaylor/libbacktrace)
AC_CONFIG_SRCDIR(backtrace.h)
AC_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR(config)
Expand Down Expand Up @@ -567,7 +568,7 @@ else
multilib_arg=
fi

AC_CONFIG_FILES(Makefile backtrace-supported.h)
AC_CONFIG_FILES(Makefile backtrace-supported.h libbacktrace.pc)
AC_CONFIG_FILES(install-debuginfo-for-buildid.sh, chmod +x install-debuginfo-for-buildid.sh)

# We need multilib support, but only if configuring for the target.
Expand Down

0 comments on commit 4ec9a6a

Please sign in to comment.