[barcode] pkg-config support
Daniel Macks
dmacks@netspace.org
Thu Nov 19 04:57:59 CET 2009
On Wed, Nov 18, 2009 at 10:12:57PM -0500, Jim Evins wrote:
> >From ad64bbcd04716f96ac4e233a0967b54f15275753 Mon Sep 17 00:00:00 2001
> From: Jim Evins <evins@snaught.com>
> Date: Wed, 18 Nov 2009 21:45:37 -0500
> Subject: [PATCH] Added pkg-config support
>
> diff --git a/barcode.pc.in b/barcode.pc.in
> --- /dev/null
> +++ b/barcode.pc.in
> @@ -0,0 +1,11 @@
> +prefix=@prefix@
> +exec_prefix=@exec_prefix@
> +libdir=@libdir@
> +includedir=@includedir@
> +
> +Name: barcode
> +Description: GNU-barcode Library
> +Version: @PACKAGE_VERSION@
> +Libs: -L${libdir} -lbarcode @LIBPAPER@
> +Cflags: -I${includedir}
> +
It appears that libpaper is only an internal implementation detail,
not part of public API/ABI. If that's true, would be better in
Libs.private than in Libs. That makes it less likely to publish "link
with -lpaper" to other packages that use libbarcode.
dan
--
Daniel Macks
dmacks@netspace.org
http://www.netspace.org/~dmacks
More information about the barcode
mailing list