[PATCH] Add .pc file for tevent-util public library
Jelmer Vernooij
jelmer at samba.org
Sun May 19 16:26:29 MDT 2013
On Sun, May 19, 2013 at 11:47:06PM +0200, Julien Kerihuel wrote:
> Hi List,
>
> The following patch adds a pkgconfig file for the public tevent-util
> library and makes it possible to use it from external softwares (e.g.
> openchange).
>
> Kind Regards,
> Julien.
>
> --
> Julien Kerihuel
> j.kerihuel at openchange.org
> OpenChange Project Founder
>
> Twitter: http://twitter.com/jkerihuel
>
> GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
>
>
>
>
> From 6214941740f4e8c66fa854db26cab1c7d0b76b3f Mon Sep 17 00:00:00 2001
> From: Julien Kerihuel <j.kerihuel at openchange.org>
> Date: Sun, 19 May 2013 23:40:55 +0200
> Subject: [PATCH] Add .pc file for tevent-util public library
>
> ---
> lib/util/tevent-util.pc.in | 12 ++++++++++++
> lib/util/wscript_build | 2 +-
> 2 files changed, 13 insertions(+), 1 deletion(-)
> create mode 100644 lib/util/tevent-util.pc.in
>
> diff --git a/lib/util/tevent-util.pc.in b/lib/util/tevent-util.pc.in
> new file mode 100644
> index 0000000..bc75800
> --- /dev/null
> +++ b/lib/util/tevent-util.pc.in
> @@ -0,0 +1,12 @@
> +prefix=@prefix@
> +exec_prefix=@exec_prefix@
> +libdir=@libdir@
> +includedir=@includedir@
> +
> +Name: tevent-util
> +Description: tevent library utility functions
> +Version: @PACKAGE_VERSION@
> +Requires: talloc tevent samba-util
> +Libs: -L${libdir} -ltevent-util
> +Cflags: @LIB_RPATH@ -I${includedir}
The @LIB_RPATH@ flag doesn't belong in compiler flags, but in linker flags.
+1 otherwise.
Cheers,
Jelmer
More information about the samba-technical
mailing list