diff --git a/source/Makefile b/source/Makefile index e5dffbf532d..5ebff3bbbf5 100644 --- a/source/Makefile +++ b/source/Makefile @@ -315,12 +315,10 @@ ifeq ($(WITH_BF_BLENDERPLAYER), true) endif ifeq ($(WITH_BF_WEBPLUGIN), true) - ifneq ($(NAN_NO_PLUGIN), true) - BINTARGETS += plugin - ifeq ($(OS),linux) - ifeq ($(CPU),i386) - BINTARGETS += xplink - endif + BINTARGETS += plugin + ifeq ($(OS),linux) + ifeq ($(CPU),i386) + BINTARGETS += xplink endif endif endif diff --git a/source/gameengine/GamePlayer/Makefile b/source/gameengine/GamePlayer/Makefile index 747a82fc333..c4f78f23117 100644 --- a/source/gameengine/GamePlayer/Makefile +++ b/source/gameengine/GamePlayer/Makefile @@ -34,7 +34,7 @@ SOURCEDIR = source/gameengine/GamePlayer DIR = $(OCGDIR)/gameengine/GamePlayer DIRS = common ghost -ifneq ($(NAN_NO_PLUGIN),true) +ifeq ($(WITH_BF_WEBPLUGIN),true) ifeq ($(OS),$(findstring $(OS), "freebsd irix windows")) ifneq ($(FREE_WINDOWS),true) DIRS += netscape diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk index 43345817f2e..e19d10dba64 100644 --- a/source/nan_definitions.mk +++ b/source/nan_definitions.mk @@ -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)