We need to link libprotobuf shared library after liborc.

We should use "-lorc -lprotobuf" instead of "-lprotobuf -lorc".

If we use libprotobuf as static library, we can control link order by
ARROW_STATIC_LINK_LIBS. But we can't control link order when we use
libprotobuf as shared library by variables.

We need to tell CMake link order.

[ Full content available at: https://github.com/apache/arrow/pull/2556 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to