bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New gnulib user !


From: Vivien Kraus
Subject: Re: New gnulib user !
Date: Sun, 03 Jul 2022 17:10:39 +0200
User-agent: Evolution 3.42.1

Hello,

Le dimanche 03 juillet 2022 à 16:52 +0200, Bruno Haible a écrit :
> +Here @code{BUILDING_SHARED} is a C macro that you have to define. 
> It
> +ought to evaluate to 1 in a build configured with @samp{--enable-
> shared},
> +or to 0 in a build configured with @samp{--disable-shared}.

That’s interesting. I don’t know how to do it at the moment; the
configure script automatically gets a --enable-shared=… flag but I
can’t find a trace of it in config.log, and I don’t know how to use it.
Could you elaborate on how to get a value for BUILDING_SHARED with
autoconf? Also, if both shared and static libraries are compiled, does
it mean that they should get compiled twice, with different compiler
flags?

Vivien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]