From bfc4c76a241cfacda2696cfbb8d3ccbac0d0046c Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 20 Feb 2003 12:50:40 +0000 Subject: [PATCH] Add minimal DLL support. [SVN r17554] --- new/borland.jam | 3 +++ v2/borland.jam | 3 +++ 2 files changed, 6 insertions(+) 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"$(<)" "$(>)"