aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-09-13 16:35:59 +0200
committerBjörn-Egil Dahlberg <[email protected]>2010-09-13 16:35:59 +0200
commite79a81fcffda8f1f8cb32e83daeaf2f6113bbee5 (patch)
tree714c802fdbd27118180a4e3bdcbd425ddcb2bf78 /erts/epmd/src
parentbbf3ab21b404aedbf9c7b7062b1e96062133fe44 (diff)
downloadotp-e79a81fcffda8f1f8cb32e83daeaf2f6113bbee5.tar.gz
otp-e79a81fcffda8f1f8cb32e83daeaf2f6113bbee5.tar.bz2
otp-e79a81fcffda8f1f8cb32e83daeaf2f6113bbee5.zip
Fix ei to build on vxworks
Diffstat (limited to 'erts/epmd/src')
-rw-r--r--erts/epmd/src/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/epmd/src/Makefile.in b/erts/epmd/src/Makefile.in
index 70a54fe46e..2f5296a5e8 100644
--- a/erts/epmd/src/Makefile.in
+++ b/erts/epmd/src/Makefile.in
@@ -58,8 +58,12 @@ ERTS_INCL = -I$(ERL_TOP)/erts/include \
ifeq ($(TARGET),win32)
ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal_r$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@
else
+ifeq ($(findstring vxworks,$(TARGET)),vxworks)
+ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@
+else
ERTS_INTERNAL_LIBS=-L../../lib/internal/$(TARGET) -lerts_internal$(ERTS_LIB_TYPEMARKER) @ERTS_INTERNAL_X_LIBS@ -lm
endif
+endif
CC = @CC@
WFLAGS = @WFLAGS@