diff options
author | Micael Karlberg <[email protected]> | 2019-03-07 17:27:44 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-04-30 10:58:16 +0200 |
commit | 9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8 (patch) | |
tree | 8580ab0743b2dee79169b6b30af2d6b225ef7704 /erts/emulator | |
parent | 759ec896d7f254db2996cbb503c1ef883e6714b0 (diff) | |
download | otp-9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8.tar.gz otp-9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8.tar.bz2 otp-9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8.zip |
[socket] Preliminary - make socket configurable
Preliminary work to make socket configurable (enable and disable).
OTP-15658
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/Makefile.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in index 448f41b523..1c85c4e827 100644 --- a/erts/emulator/Makefile.in +++ b/erts/emulator/Makefile.in @@ -843,6 +843,14 @@ ESOCK_RUN_OBJS = \ $(OBJDIR)/socket_dbg.o \ $(OBJDIR)/socket_tarray.o \ $(OBJDIR)/socket_util.o +ifeq ($(USE_ESOCK), yes) +ESOCK_NIF_OBJS = \ + $(OBJDIR)/socket_nif.o \ + $(OBJDIR)/net_nif.o +else +ESOCK_NIF_OBJS = \ + $(OBJDIR)/net_nif.o +endif else ESOCK_RUN_OBJS = endif @@ -903,8 +911,7 @@ NIF_OBJS = \ $(OBJDIR)/prim_buffer_nif.o \ $(OBJDIR)/prim_file_nif.o \ $(OBJDIR)/zlib_nif.o \ - $(OBJDIR)/socket_nif.o \ - $(OBJDIR)/net_nif.o + $(ESOCK_NIF_OBJS) ifeq ($(TARGET),win32) DRV_OBJS = \ |