Building Libreoffice 3.6 on OpenIndiana x86 with GCC

Matúš Kukan matus.kukan at gmail.com
Fri Jun 15 14:52:43 PDT 2012


On 15 June 2012 17:32, Jonathan Adams <t12nslookup at gmail.com> wrote:
> /home/sal/LibreOffice/libo/desktop/Executable_oosplash.mk:83: ***
> Cannot link against library/libraries -lsocket. Libraries must be
> registered in Repository.mk.  Stop.

Just remove the whole ifeq ($(OS),SOLARIS) ... endif part
from desktop/Executable_oosplash.mk

> my question is, how do I tell "Repository.mk" that it should be using
> "-lsocket" in tail_build ?

It's registered in solenv/gbuild/platform/solaris.mk, see
gb_Library_PLAINLIBS_NONE.
It's also in gb_STDLIBS, so we link against it ~all the time.
If there is no gb_STDLIBS in makefile and you want to add -lsocket,
just add 'socket' into gb_Foo_use_libraries.

Best,
Matus


More information about the LibreOffice mailing list