[PATCH] build: export liberofs

Gao Xiang hsiangkao at linux.alibaba.com
Fri Jun 7 17:01:46 AEST 2024


Hi,

On 2024/6/7 14:49, ComixHe wrote:
> export liberofs.a for linking to liberofsfuse in the project
> and provide pc files for developer's convenience.
> 
> Signed-off-by: ComixHe <heyuming at deepin.org>

Currently liberofs interface is still unstable. We tend
to address this in erofs-utils v1.9 cycle.  If you folks really
need that, I'd suggest leave this out-of-tree temporarily.

> ---

...

> --- a/lib/Makefile.am
> +++ b/lib/Makefile.am
> @@ -1,6 +1,6 @@
>   # SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   
> -noinst_LTLIBRARIES = liberofs.la
> +lib_LIBRARIES = liberofs.a

liberofs should work for both dynamic library and static library
in the future (v1.9), so liberofs.la is preferred.

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list