[PATCH v2 2/5] erofs-utils: let erofs-utils use shared libraries if it can
Li Guifu
bluce.liguifu at huawei.com
Thu Dec 20 17:49:25 AEDT 2018
On 2018/12/19 12:38, Gao Xiang wrote:
> As an option, add LDFLAGS=--static LIBS=-Wl,--static
> in front of ./configure to force static compilation
> as before.
> ex, (force static compilation)
> $ LDFLAGS=--static LIBS=-Wl,--static ./configure
> $ make
>
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>
> ---
> Makefile.am | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index cef847d..4381d3d 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -25,7 +25,6 @@ noinst_HEADERS = erofs_config.h \
> mkfs_file.h
>
> mkfs_erofs_CFLAGS = -Wall -Werror -DEROFS_MKFS_VERSION=\"v1.0\"
> -mkfs_erofs_LDFLAGS = --static
> ACLOCAL_AMFLAGS = -I m4
>
> if SUPPORT_LARG_FILE_AT_BIT32
Reviewed-by: Li Guifu <bluce.liguifu at huawei.com>
Thanks,
More information about the Linux-erofs
mailing list