Building (a CWS based on) SRC680m242 on some Mac OS 10.5 box (with the
Hamburg setsolar environment) failed in ucb/source/ucp/webdav, as ld
resolved -lneon to some /usr/lib/libneon.dylib (that happened to be
there on that machine, and for reasons I have not yet investigated
further does not work) instead of the solver's
unxmacxi.pro/lib.m242/libneon.a.
Neon shall be linked in as a static library, but the Mac OS X ld seems
to have no switch to tell it to prefer a static library over a dynamic
one for a given -l argument (what can be done via -Bstatic -l...
-Bdynamic on GNU ld, for example). I worked around that in a rather
ugly way for now, solenv/inc/libx.mk:1.123.22.1 l. 228--234:
.IF "$(SYSTEM_NEON)" == "YES"
NEON3RDLIB=-lneon
.ELIF "$(OS)" == "MACOSX"
NEON3RDLIB=$(SOLARLIBDIR)$/libneon.a
.ELSE
NEON3RDLIB=$(STATIC) -lneon $(DYNAMIC)
.ENDIF
If anybody knows of a better way to achieve this, please let me know.
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]