2018-08-16 08:43:53 -05:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
#
|
|
|
|
# This file is part of libmount from util-linux project.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2008-2018 Karel Zak <kzak@redhat.com>
|
|
|
|
#
|
|
|
|
# libmount is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
2009-11-26 10:11:12 -06:00
|
|
|
prefix=@prefix@
|
|
|
|
exec_prefix=@exec_prefix@
|
|
|
|
libdir=@usrlib_execdir@
|
|
|
|
includedir=@includedir@
|
|
|
|
|
|
|
|
Name: mount
|
|
|
|
Description: mount library
|
|
|
|
Version: @LIBMOUNT_VERSION@
|
2019-11-08 11:02:09 -06:00
|
|
|
Requires.private: blkid @LIBSELINUX@ @LIBCRYPTSETUP@
|
2011-01-19 16:51:12 -06:00
|
|
|
Cflags: -I${includedir}/libmount
|
2009-11-26 10:11:12 -06:00
|
|
|
Libs: -L${libdir} -lmount
|
cryptsetup: add option to use via dlopen in libmount
Enabling libcrypsetup in libmount had several unintended side
effects.
First of all, it increases the Debian minimal image size by
~2.5% (5.6MB worth of new libraries).
Then, due to libcryptsetup linkage to OpenSSL and libjson-c,
it causes incompatibilities with external programs linking
against both libmount and a private, static, old version of
OpenSSL, or external programs linking against libjansson or
json-glib, which have one symbol in common with libjson-c.
If ./configure is ran with --with-crypsetup=dlopen,
instead of linking to libcrypsetup, use dlopen to resolve
the symbols at runtime only when the verity feature is
used, thus avoiding clashes and keeping images size down.
Fixes #1081
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
2020-06-29 15:45:26 -05:00
|
|
|
Libs.private: @LIBDL@
|