Creating a dynamic library on Linux


#1

Hi there,

I'm using introjucer to make a dynamic library for Linux but when selecting that option in introjucer I had to change the following code in the make file:

  1. It creates a file with extension .a instead of a .so
  2. add -shared in the extra linker flags session in the .jucer file.

I would like to change the .a extension to .so without changing the make file manually, is there any way to do it?

 

Thanks!

 


#2

I end up adding this extra link flag:

-o build/libMyLibrary.so