diff options
author | Micael Karlberg <[email protected]> | 2019-03-07 18:10:35 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-04-30 10:58:16 +0200 |
commit | f69742b7ed7fe843f6ca44179675b9d9bc63efdc (patch) | |
tree | af4d2a73d4e313edc5e0afdcf63b719baf7543a3 /lib/sasl/src/Makefile | |
parent | 9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8 (diff) | |
download | otp-f69742b7ed7fe843f6ca44179675b9d9bc63efdc.tar.gz otp-f69742b7ed7fe843f6ca44179675b9d9bc63efdc.tar.bz2 otp-f69742b7ed7fe843f6ca44179675b9d9bc63efdc.zip |
[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
Diffstat (limited to 'lib/sasl/src/Makefile')
-rw-r--r-- | lib/sasl/src/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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 # ---------------------------------------------------- |