aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-11-27 23:56:30 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2017-11-29 03:33:13 -0600
commitf1588daab7b32d923b3c3d03b426c3a6c3144c4f (patch)
tree85c6d0655653b1b09b449b8d2ab7f6acec462fe5
parente29183c6dcb6c3e16698ff5246478130acf91e91 (diff)
downloadnewlib-github/topic/ssp.zip
newlib-github/topic/ssp.tar.gz
newlib-github/topic/ssp.tar.bz2
cygwin: create libssp compatibility import librarygithub/topic/ssptopic/ssp
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
-rw-r--r--winsup/cygwin/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index a70f28d..c1de26c 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -540,7 +540,7 @@ endif
API_VER:=$(srcdir)/include/cygwin/version.h
LIB_NAME:=libcygwin.a
-SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a librt.a libacl.a
+SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a librt.a libacl.a libssp.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)
@@ -745,6 +745,9 @@ librt.a: ${LIB_NAME} posix_ipc.o
libacl.a: ${LIB_NAME} sec_posixacl.o
${speclib} ${@F}
+libssp.a: ${LIB_NAME} $(newlib_build)/libc/ssp/lib.a
+ ${speclib} ${@F}
+
${EXTRALIBS}: lib%.a: %.o
$(AR) cru $@ $?