From b0dc8525c1e7c80a2b2eb074cde07f41325770dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Sch=C3=B6pflin?= Date: Mon, 13 Feb 2006 13:19:37 +0000 Subject: [PATCH] Mark all unresolved symbols as expected when creating dynamic libraries. [SVN r32892] --- src/tools/tru64.jam | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tools/tru64.jam b/src/tools/tru64.jam index c6c302ac7..6db466a23 100644 --- a/src/tools/tru64.jam +++ b/src/tools/tru64.jam @@ -127,9 +127,14 @@ actions link bind LIBRARIES $(CONFIG_COMMAND) -noimplicit_include $(OPTIONS) -o "$(<)" -L$(LIBPATH) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) -lrt -lm } +# When creating dynamic libraries, we don't want to be warned about unresolved +# symbols, therefore all unresolved symbols are marked as expected by +# '-expect_unresolved *'. This also mirrors the behaviour of the GNU tool +# chain. + actions link.dll bind LIBRARIES { - $(CONFIG_COMMAND) -shared -noimplicit_include $(OPTIONS) -o "$(<[1])" -L$(LIBPATH) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) -lm + $(CONFIG_COMMAND) -shared -expect_unresolved \* -noimplicit_include $(OPTIONS) -o "$(<[1])" -L$(LIBPATH) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) -lm }