When and why qmake adds -soname on Linux?
Installation and Deployment
1
Posts
1
Posters
2.1k
Views
1
Watching
-
Hello,
I have several libraries in the project. For one of them qmake adds a -soname parameter to LFLAGS as "libname.so.1". This is something unwanted. How do I control it?
Setting QMAKE_LFLAGS_SONAME only makes things worse because qmake then uses QMAKE_LFLAGS_SONAME value AND appends "libname.so.1" to it creating an invalid makefile.
Curiously, that it happens to only one library and I don't see the reason why because others have very similar and mostly shared settings.