summaryrefslogtreecommitdiff
path: root/modules/mono/SCsub
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-01-22 18:33:36 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-01-22 18:33:36 +0100
commitbc8b61bb069a9229dbceb61fedb8308c5d1e6a68 (patch)
treedae493d525675a140754ce3b21f9310f8188bb16 /modules/mono/SCsub
parent077e48977384a1b1c2e527e5df9012b64b56e847 (diff)
Mono: Fix hot reload build errors and cleanup
Diffstat (limited to 'modules/mono/SCsub')
-rw-r--r--modules/mono/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mono/SCsub b/modules/mono/SCsub
index e1f5e2ef28..706949154e 100644
--- a/modules/mono/SCsub
+++ b/modules/mono/SCsub
@@ -88,6 +88,9 @@ vars.Update(env_mono)
if env_mono['mono_glue']:
env_mono.Append(CPPDEFINES=['MONO_GLUE_ENABLED'])
+if env_mono['tools'] or env_mono['target'] != 'release':
+ env_mono.Append(CPPDEFINES=['GD_MONO_HOT_RELOAD'])
+
# Configure TLS checks
import tls_configure