[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] [PATCH] Create and install pkg-config .pc files
From: |
Tommi Rantala |
Subject: |
Re: [Libunwind-devel] [PATCH] Create and install pkg-config .pc files |
Date: |
Wed, 29 Aug 2012 16:10:33 +0300 |
2012/8/27 Alexander Toresson <address@hidden>:
> Thank you! Here's an updated patch:
>
> ---
> configure.in | 3 +++
> src/Makefile.am | 5 +++++
> src/coredump/libunwind-coredump.pc.in | 10 ++++++++++
> src/libunwind-arch.pc.in | 10 ++++++++++
> src/ptrace/libunwind-ptrace.pc.in | 10 ++++++++++
> src/setjmp/libunwind-setjmp.pc.in | 10 ++++++++++
> src/unwind/libunwind.pc.in | 9 +++++++++
> 7 filer ändrade, 57 tillägg(+)
> create mode 100644 src/coredump/libunwind-coredump.pc.in
> create mode 100644 src/libunwind-arch.pc.in
> create mode 100644 src/ptrace/libunwind-ptrace.pc.in
> create mode 100644 src/setjmp/libunwind-setjmp.pc.in
> create mode 100644 src/unwind/libunwind.pc.in
Hi,
"libunwind-$arch.pc" could be also named "libunwind-generic.pc", and
use "-lunwind-generic" for linking. This is suggested in the NEWS
file, and also in doc/libunwind-ptrace.man.
Also, if building a cross-unwinder e.g. with "./configure
--target=arm-linux-gnueabi", only "libunwind-$arch.so" is created. In
this case only one of the pkgconfig files would be needed, and the
dependencies would be different too.
Tommi