From 06391373b0551f7aa195693baa934f1db2f64a18 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 12 Jun 2009 10:19:36 +0000 Subject: [PATCH] * Makefile.in (SUBLIBS): Add librt.a. (librt.a): New rule to build librt.a. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/Makefile.in | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 90dd418d8..01ffd362d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-06-12 Corinna Vinschen + + * Makefile.in (SUBLIBS): Add librt.a. + (librt.a): New rule to build librt.a. + 2009-06-12 Corinna Vinschen * posix_ipc.cc (check_path): Fix typo in comment. Align naming diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 30f445d3e..b87f0fd85 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -228,7 +228,7 @@ API_VER:=$(srcdir)/include/cygwin/version.h LIB_NAME:=libcygwin.a LIBSERVER:=@LIBSERVER@ -SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a +SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a librt.a EXTRALIBS:=libautomode.a libbinmode.a libtextmode.a libtextreadmode.a INSTOBJS:=automode.o binmode.o textmode.o textreadmode.o TARGET_LIBS:=$(LIB_NAME) $(CYGWIN_START) $(GMON_START) $(LIBGMON_A) $(SUBLIBS) $(INSTOBJS) $(EXTRALIBS) @@ -457,6 +457,9 @@ libdl.a: ${LIB_NAME} dlfcn.o libresolv.a: ${LIB_NAME} minires.o ${speclib} ${@F} +librt.a: ${LIB_NAME} posix_ipc.o + ${speclib} ${@F} + ${EXTRALIBS}: lib%.a: %.o $(AR) cru $@ $?