mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Provide pkgconfig Require.private.
While we do not completely provides static build on udev systems, having theses modules in pkgconfig can be useful otherwise.
This commit is contained in:
16
configure.ac
16
configure.ac
@@ -617,6 +617,22 @@ AC_SUBST([LIBSSH_LIBS])
|
|||||||
AC_SUBST([LIBCRYPTSETUP_VERSION])
|
AC_SUBST([LIBCRYPTSETUP_VERSION])
|
||||||
AC_SUBST([LIBCRYPTSETUP_VERSION_INFO])
|
AC_SUBST([LIBCRYPTSETUP_VERSION_INFO])
|
||||||
|
|
||||||
|
dnl Set Requires.private for libcryptsetup.pc
|
||||||
|
dnl pwquality is used only by tools
|
||||||
|
PKGMODULES="uuid devmapper json-c"
|
||||||
|
case $with_crypto_backend in
|
||||||
|
gcrypt) PKGMODULES+=" libgcrypt" ;;
|
||||||
|
openssl) PKGMODULES+=" openssl" ;;
|
||||||
|
nss) PKGMODULES+=" nss" ;;
|
||||||
|
nettle) PKGMODULES+=" nettle" ;;
|
||||||
|
esac
|
||||||
|
if test "x$enable_libargon2" = "xyes"; then
|
||||||
|
PKGMODULES+=" libargon2"
|
||||||
|
fi
|
||||||
|
if test "x$enable_blkid" = "xyes"; then
|
||||||
|
PKGMODULES+=" blkid"
|
||||||
|
fi
|
||||||
|
AC_SUBST([PKGMODULES])
|
||||||
dnl ==========================================================================
|
dnl ==========================================================================
|
||||||
AC_ARG_ENABLE([dev-random],
|
AC_ARG_ENABLE([dev-random],
|
||||||
AS_HELP_STRING([--enable-dev-random], [use /dev/random by default for key generation (otherwise use /dev/urandom)]))
|
AS_HELP_STRING([--enable-dev-random], [use /dev/random by default for key generation (otherwise use /dev/urandom)]))
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ Description: cryptsetup library
|
|||||||
Version: @LIBCRYPTSETUP_VERSION@
|
Version: @LIBCRYPTSETUP_VERSION@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -lcryptsetup
|
Libs: -L${libdir} -lcryptsetup
|
||||||
|
Requires.private: @PKGMODULES@
|
||||||
|
|||||||
Reference in New Issue
Block a user