modules: Add the path where we install the helper PAM modules to the .pc file
authorJakub Hrozek <jakub.hrozek@posteo.se>
Fri, 6 May 2016 10:00:10 +0000 (12:00 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 10 May 2016 08:28:34 +0000 (10:28 +0200)
commitf3ef1e8833fb809d3a4e8dd9051eb4ab31d76c78
tree7560f5910187c9fc8acbbe2cb6bb0cf45e7cec58
parentbc51c0430df83a1fdf8d468920d73a656c32b704
modules: Add the path where we install the helper PAM modules to the .pc file

A test needs to often know where are the helper pam modules
(pam_get_items.so and pam_set_items.so). This patch adds a new variable
to the pkg-config file that lets the user of pam_wrapper query the path
like this:
    $ pkg-config --variable=modules pam_wrapper
    /usr/lib64/pam_wrapper

And use that variable to define their own service files.

Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
pam_wrapper.pc.cmake