opus
opus copied to clipboard
How to make “libopus.a” file
When i compile the project on macOS(not cmake but makefile.am and configure.ac used) it only generate libopus.la
how to make libopus.a?
There should be a .libs/libopus.a
. If not you can try passing --enable-static
to configure.
libtool, part of the configure/Makefile.am build, hides the actual libary files in .libs
subdirectories so it can intercept link requests and provide portable behaviour. Sometimes it's easier to get at the files you want by running the install step against a temporary directory.
$ ./configure --prefix=$PWD/_inst
$ make -j4
$ make install
$ ls _inst/lib
libopus.a libopus.la libopus.so libopus.so.0 libopus.so.0.8.0 pkgconfig/
how can i solve the problem