diff --git a/new/borland.jam b/new/borland.jam index 1eaf82930..410938477 100644 --- a/new/borland.jam +++ b/new/borland.jam @@ -21,6 +21,7 @@ type.register BORLAND.TDS : tds ; # Declare generators generators.register-composing borland.link : LIB OBJ : EXE BORLAND.TDS : borland ; +generators.register-composing borland.link : LIB OBJ : SHARED_LIB BORLAND.TDS : borland ; generators.register-composing borland.archive : OBJ : STATIC_LIB : borland ; #Don't support dll for now. @@ -38,6 +39,8 @@ toolset.flags borland.compile OPTIONS ; toolset.flags borland.compile DEFINES ; toolset.flags borland.compile INCLUDES ; +toolset.flags borland.link OPTIONS shared : -tWD ; + actions compile { $(COMPILER_NAME) $(OPTIONS) -q -P -D$(DEFINES) -I$(INCLUDES) -c -o"$(<)" "$(>)" diff --git a/v2/borland.jam b/v2/borland.jam index 1eaf82930..410938477 100644 --- a/v2/borland.jam +++ b/v2/borland.jam @@ -21,6 +21,7 @@ type.register BORLAND.TDS : tds ; # Declare generators generators.register-composing borland.link : LIB OBJ : EXE BORLAND.TDS : borland ; +generators.register-composing borland.link : LIB OBJ : SHARED_LIB BORLAND.TDS : borland ; generators.register-composing borland.archive : OBJ : STATIC_LIB : borland ; #Don't support dll for now. @@ -38,6 +39,8 @@ toolset.flags borland.compile OPTIONS ; toolset.flags borland.compile DEFINES ; toolset.flags borland.compile INCLUDES ; +toolset.flags borland.link OPTIONS shared : -tWD ; + actions compile { $(COMPILER_NAME) $(OPTIONS) -q -P -D$(DEFINES) -I$(INCLUDES) -c -o"$(<)" "$(>)"