lzip-bug
[Top][All Lists]
Advanced

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

Re: lzlib Makefile doesn't build shared version


From: Adam Tuja
Subject: Re: lzlib Makefile doesn't build shared version
Date: Fri, 24 Jul 2020 02:31:16 +0200

> Did you try to pass the option '--enable-shared' to configure?

I honestly didn't see that option in help (`configure --help`)

> Have you tried the method documented in INSTALL?
>    ./configure CPPFLAGS='-I <includedir>' LDFLAGS='-L <libdir>'

That helped, thanks. I have to read documentation more closely next time.



BTW, what's the rationale behind including all .c files in lzlib.c and adding 
lzlib.o to ar 
```
$ ar t lzlib.a
lzlib.o
```
instead of compiling them separately?
```
$ ar t lzlib.a
cbuffer.o
decoder.o
encoder_base.o
encoder.o
fast_encoder.o
lzlib.o
```




reply via email to

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