mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-08-23 21:01:04 +00:00
build-sys/rpm/debian: Add gmp library and devel package as dependency
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
6a2c342798
commit
605e0ce880
12
configure.ac
12
configure.ac
@ -269,6 +269,18 @@ if test $? -ne 0; then
|
||||
fi
|
||||
AC_SUBST([GLIB_LIBS])
|
||||
|
||||
GMP_CFLAGS=$(pkg-config --cflags gmp)
|
||||
if test $? -ne 0; then
|
||||
AC_MSG_ERROR("Is libgmp-dev/gmp-devel installed? -- could not get cflags")
|
||||
fi
|
||||
AC_SUBST([GMP_CFLAGS])
|
||||
|
||||
GMP_LIBS=$(pkg-config --libs gmp)
|
||||
if test $? -ne 0; then
|
||||
AC_MSG_ERROR("Is libgmp-dev/gmp-devel installed? -- could not get libs")
|
||||
fi
|
||||
AC_SUBST([GMP_LIBS])
|
||||
|
||||
AC_MSG_CHECKING([for whether to build with chardev interface])
|
||||
case $host_os in
|
||||
linux-*)
|
||||
|
||||
1
debian/control
vendored
1
debian/control
vendored
@ -12,6 +12,7 @@ Build-Depends: debhelper (>= 10),
|
||||
gnutls-dev,
|
||||
libfuse-dev,
|
||||
libglib2.0-dev,
|
||||
libgmp-dev,
|
||||
libjson-glib-dev,
|
||||
libseccomp-dev,
|
||||
libssl-dev,
|
||||
|
||||
@ -39,6 +39,7 @@ BuildRequires: selinux-policy-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libseccomp-devel
|
||||
BuildRequires: tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools tpm2-abrmd
|
||||
BuildRequires: gmp-devel
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: libtpms >= 0.6.0
|
||||
|
||||
@ -39,6 +39,7 @@ BuildRequires: selinux-policy-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libseccomp-devel
|
||||
BuildRequires: tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools tpm2-abrmd
|
||||
BuildRequires: gmp-devel
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: libtpms >= 0.6.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user