aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/Makefile.in
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2012-08-20 16:07:14 +0200
committerPatrik Nyblom <[email protected]>2012-08-20 16:07:14 +0200
commit00ef468474d0628903e0a3a3abc7aceb8d2c4061 (patch)
treeb88df582da64bcf52512caadd68ecd9ad788f4d0 /erts/etc/common/Makefile.in
parent199e634cb8d7dc43b839a063e665e2d9f665c68b (diff)
parent2a017b471cb2096eccf2f908f38a7a5305901788 (diff)
downloadotp-00ef468474d0628903e0a3a3abc7aceb8d2c4061.tar.gz
otp-00ef468474d0628903e0a3a3abc7aceb8d2c4061.tar.bz2
otp-00ef468474d0628903e0a3a3abc7aceb8d2c4061.zip
Merge branch 'maint'
Conflicts: erts/etc/common/heart.c
Diffstat (limited to 'erts/etc/common/Makefile.in')
-rw-r--r--erts/etc/common/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/etc/common/Makefile.in b/erts/etc/common/Makefile.in
index 0e128fda12..ea70946346 100644
--- a/erts/etc/common/Makefile.in
+++ b/erts/etc/common/Makefile.in
@@ -60,6 +60,9 @@ LD = @LD@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
+# For clock_gettime in heart
+RTLIBS = @LIBRT@
+
ifeq ($(TARGET),win32)
ifeq ($(TYPE),debug)
CFLAGS = $(subst -O2,-g,@CFLAGS@ @DEFS@ $(TYPE_FLAGS) @WFLAGS@ -I$(SYSDIR) \
@@ -346,7 +349,7 @@ endif
$(BINDIR)/heart@EXEEXT@: $(OBJDIR)/heart.o $(ENTRY_OBJ)
$(LD) $(LDFLAGS) $(ENTRY_LDFLAGS) -o $@ $(OBJDIR)/heart.o \
- $(ENTRY_OBJ) $(WINDSOCK)
+ $(RTLIBS) $(ENTRY_OBJ) $(WINDSOCK)
$(OBJDIR)/heart.o: heart.c $(RC_GENERATED)
$(CC) $(CFLAGS) -o $@ -c heart.c