From edbc58386afb49a9663edbe3e18ce24e59cbd5f5 Mon Sep 17 00:00:00 2001 From: Ronny Otto Date: Mon, 10 Aug 2020 22:27:13 +0200 Subject: [PATCH] Add ?sharedlibrary conditional --- parser.bmx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parser.bmx b/parser.bmx index 28435717..d11bce59 100644 --- a/parser.bmx +++ b/parser.bmx @@ -4648,6 +4648,9 @@ Function EvalS$( source$,ty:TType ) ' new compiler env.InsertDecl New TConstDecl.Create( "bmxng",New TIntType,New TConstExpr.Create( New TIntType, True ),0 ) + ' shared library? + env.InsertDecl New TConstDecl.Create( "sharedlibrary",New TIntType,New TConstExpr.Create( New TIntType, opt_makelib = True ),0 ) + ' user defines If opt_userdefs Then Local defs:String[] = opt_userdefs.ToLower().Split(",")