How to use pkglib_LTLIBRARIES = test.la only for assembly * .so

I use autotools to create a shared object.

Using pkglib_LTLIBRARIESin my Makefile.am, you create libtest.laAND libtest.so.

I want it to create / install libtest.so.

Is it possible?

+3
source share
3 answers

. , OS X libtest.dylib, libtest.so. libtool autotools, - , . , . libtest.la, . libtools , .

autotools, , libtest.la. , libtool script, , make.

GNU libtool . , .

+3

--disable-static configure.

+3

Another option would be to set this parameter to configure.ac:

LT_INIT([disable-static])

See the documentation for LT_INIT .

0
source

Source: https://habr.com/ru/post/1698999/


All Articles