Fixing up the webplugin defines for the Makefiles.
[blender.git] / source / nan_definitions.mk
index 43345817f2e627539eed5a3987fc973bb46ce20f..e19d10dba641dc0d1651adc1f828d0a4342c8e03 100644 (file)
@@ -64,7 +64,11 @@ all debug::
     export WITH_BF_STATICOPENGL ?= false
     export WITH_BF_BLENDERGAMEENGINE ?= true
     export WITH_BF_BLENDERPLAYER ?= true
-    export WITH_BF_WEBPLUGIN ?= false
+    ifeq ($(NAN_NO_PLUGIN), true)
+        export WITH_BF_WEBPLUGIN = false
+    else
+        export WITH_BF_WEBPLUGIN ?= false
+    endif
 
     export NAN_MOTO ?= $(LCGDIR)/moto
 ifeq ($(FREE_WINDOWS), true)