diff --git a/deps/rabbitmq_web_stomp/Makefile b/deps/rabbitmq_web_stomp/Makefile index f14154e645..5ce29e32a0 100644 --- a/deps/rabbitmq_web_stomp/Makefile +++ b/deps/rabbitmq_web_stomp/Makefile @@ -12,24 +12,5 @@ DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk ERLANG_MK_REPO = https://github.com/rabbitmq/erlang.mk.git ERLANG_MK_COMMIT = rabbitmq-tmp -# We need to patch SockJS' Makefile to be able to pass ERLC_OPTS to it. -.DEFAULT_GOAL = all -deps:: patch-sockjs - include rabbitmq-components.mk include erlang.mk - -# -------------------------------------------------------------------- -# Compilation. -# -------------------------------------------------------------------- - -SOCKJS_ERLC_OPTS += $(RMQ_ERLC_OPTS) -export SOCKJS_ERLC_OPTS - -.PHONY: patch-sockjs -patch-sockjs: $(DEPS_DIR)/sockjs - $(exec_verbose) if ! grep -qw SOCKJS_ERLC_OPTS $(DEPS_DIR)/sockjs/Makefile; then \ - echo >> $(DEPS_DIR)/sockjs/Makefile; \ - echo >> $(DEPS_DIR)/sockjs/Makefile; \ - echo 'ERLC_OPTS += $$(SOCKJS_ERLC_OPTS)' >> $(DEPS_DIR)/sockjs/Makefile; \ - fi