vico
vico

Reputation: 18171

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?

Upvotes: 1

Views: 458

Answers (1)

SergeyA
SergeyA

Reputation: 62563

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.

Upvotes: 1

Related Questions