armflang: error: unknown argument: '-soname'

"Shterenlikht, Anton" <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
[also posted in [email protected]]

Please help me understand how to deal correctly with this error:

libtool: link: armflang -shared   <some *.o files>     -g   -soname libp2.so.0 -o .libs/libp2.so.0.0.0
armflang: error: unknown argument: '-soname'


I see this issue mentioned in multiple places, e.g:

https://github.com/HDFGroup/hdf5/issues/366

with the solution that "-Wl," must be prepended somehow to "-soname".

But I'm not sure what changes I need to do
to my configure.ac and/or Makefile.am
to fix this correctly.

For comparison, here's how the same line looks like when
I use gfortran:

libtool: link: gfortran -shared  -fPIC  <some *.o files>    -g -O2   -Wl,-soname -Wl,libp2.so.0 -o .libs/libp2.so.0.0.0


Thank you

Anton
smime.p7s (application/pkcs7-signature, 4.3 KB) - not displayed
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.