Re: [PATCH] autoconf: handle the standard --disable-shared flag

Zdenek Kabelac <[email protected]>
Newsgroups gmane.linux.lvm.devel
Message-ID <[email protected]>
Dne 22. 09. 23 v 8:47 Adam Joseph napsal(a):
> Since LVM 2.02 it appears that compiling LVM on a platform which
> lacks a shared library linker/loader will fail to produce any
> binaries (dmsetup, lvm2, etc).
> 
> This commit adds support for the standard --disable-shared flag, and
> uses it to disable attempts at building shared libraries.
> ---
>   configure.ac               | 9 +++++++++
>   libdm/Makefile.in          | 7 +++++++
>   libdm/dm-tools/Makefile.in | 9 +++++++++
>   libdm/make.tmpl.in         | 6 ++++++
>   make.tmpl.in               | 4 ++++
>   5 files changed, 35 insertions(+)
> 

Hi

The main problem with supporting anything for 'static' linkage is rather a 
lack of 'known' system that can be build with 'static' library of all other 
used libraries - and actually be usable.

I.e.  static udev or static systemd  must be some kind of unicorn I'd like to 
see myself.

So what is the system you are using ?

How is the lvm2 usable there ?

What libraries are present for usage ?

Do you purly target to have  'libdm' portion to be linked as static
(aka only 'dmsetup' resulting binary - or do you need 'dmeventd' ,
or mayby  libdevmapper.a  ?)


Regards

Zdenek


--
lvm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/lvm-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.