mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 01:32:12 +00:00
Don't try setting soname on NT. Current binutils seem to ignore the
option, but older report errors. [SVN r25335]
This commit is contained in:
@@ -72,6 +72,11 @@ if [ os.name ] != CYGWIN && [ os.name ] != NT
|
||||
{
|
||||
flags gcc.compile OPTIONS <link>shared/<main-target-type>LIB : -fPIC ;
|
||||
}
|
||||
if [ os.name ] != NT
|
||||
{
|
||||
HAVE_SONAME = "" ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
flags gcc.compile OPTIONS <cflags> ;
|
||||
@@ -218,7 +223,7 @@ rule link.dll ( targets * : sources * : properties * )
|
||||
# Differ from 'link' above only by -shared.
|
||||
actions link.dll bind LIBRARIES
|
||||
{
|
||||
"$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -Wl,-R$(SPACE)-Wl,"$(RPATH)" -o "$(<)" -Wl,-h$(SPACE)-Wl,$(<[1]:D=) -shared "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA)
|
||||
"$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -Wl,-R$(SPACE)-Wl,"$(RPATH)" -o "$(<)" $(HAVE_SONAME)-Wl,-h$(SPACE)-Wl,$(<[1]:D=) -shared "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA)
|
||||
}
|
||||
|
||||
# Set up threading support. It's somewhat contrived, so perform it at the end,
|
||||
|
||||
Reference in New Issue
Block a user