is there a way to have protobuf build the libraries with tags? (like
boost does)
For example...
- the static debug version of protobuf lite will be named: protobuf-lite-sd.a
- the dynamic debug version of protobuf lite will be named: protobuf-lite-d.so
- the static version of protobuf lite will be named: protobuf-lite-s.a
etc.
The issue I am currently having is that since protobuf names their
libraries with all the same name (just the extension is different),
gcc always wants to link the dynamic version of protobuf first instead
of the static version due to gcc's linking priorities of searching for
.so first, then .a.
My linker command will be: -lprotobuf-lite , which links to the .so
first if one exists, and then links to the .a. One way for me to get
around this, is to either manually rename the libraries myself, or
just remove the .so file, but this is a bit inconvenient.
Thanks,
J
--Chris
> --
> You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
> To post to this group, send email to prot...@googlegroups.com.
> To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
>