mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 09:53:36 +00:00
Estimated hours taken: 6 Branches: main Support shared libraries on mundroo. configure.in: Add support for shared libraries on x*86-*-solaris2.*. boehm_gc/Makefile: Compile mach_dep.c with $(CFLAGS_FOR_PIC), like we do all the other C files in this directory. This is needed for Solaris/x86, and should hopefully be harmless on other systems. scripts/ml.in: Make static linking the default for x*86-*-solaris2.*, for the same reason as for Linux. Also, pass -L/usr/local/lib, even when `--mercury-libs none' or `--no-mercury-stdlib-dir' is specified. This is needed to ensure that we find libreadline.a when building the Mercury standard library, if libreadline.a is installed in /usr/local/lib. (The Mercury configure script searches /usr/local/lib.) runtime/Mmakefile: trace/Mmakefile: Include -L/usr/local/lib in LDFLAGS, for the same reason as above.