Skip to content
Advertisement

Create shared library with extension so

I have c++ shared library project in my eclipse. Project builds fine, but I always need to rename binary by adding .so extension. Is it possible somehow set Eclipse to create binary with needed extension?

Advertisement

Answer

Now that I see the command line, it is easy to answer the question. -o "libMYLIB" -o sets the name of the output file name exactly to it’s argument. If you want it to have .so extension, set it to -o libMYLIB.so.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement