> 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