mirror of
https://github.com/boostorg/build.git
synced 2026-02-11 11:42:14 +00:00
Mark all unresolved symbols as expected when creating dynamic libraries.
[SVN r32892]
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user