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>
+modules=@LIB_INSTALL_DIR@/pam_wrapper
+
Name: @APPLICATION_NAME@
Description: The pam_wrapper library
Version: @APPLICATION_VERSION@