From f69742b7ed7fe843f6ca44179675b9d9bc63efdc Mon Sep 17 00:00:00 2001 From: Micael Karlberg Date: Thu, 7 Mar 2019 18:10:35 +0100 Subject: [socket] Socket module to be optional The SASL file systools_make has a hardcoded list of the preloaded modules (yuck). This now can handle that the socket module has been disabled (this is temporary). OTP-15658 --- lib/sasl/src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/sasl/src/Makefile') diff --git a/lib/sasl/src/Makefile b/lib/sasl/src/Makefile index 7338bdf016..fd62588f5c 100644 --- a/lib/sasl/src/Makefile +++ b/lib/sasl/src/Makefile @@ -61,7 +61,11 @@ TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) $(APP_TARGET) $(APPUP_TARGET) # ---------------------------------------------------- # FLAGS # ---------------------------------------------------- + ERL_COMPILE_FLAGS += -I../../stdlib/include -Werror +ifeq ($(USE_ESOCK), yes) +ERL_COMPILE_FLAGS += -DUSE_ESOCK=true +endif # ---------------------------------------------------- -- cgit v1.2.3