From 3662ef895a3633e353b2baad23ce1d625bd90abd Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 26 Oct 2021 12:02:00 +0200 Subject: [PATCH] ncurses: ensure the static ldscript is a file we can stat against this forces regeneration when we need to modify it, instead of generating it from the makefile and have the staling version in obj dir preventing reinstallation --- lib/ncurses/ncurses/Makefile | 4 ---- lib/ncurses/ncurses/libncursesw.aldscript | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 lib/ncurses/ncurses/libncursesw.aldscript diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 951e8a4ea63..ef446bd920b 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -170,10 +170,6 @@ SYMLINKS+= libncursesw_p.a ${LIBDIR}/libcurses_p.a LIBADD+= tinfow SHLIB_LDSCRIPT= libncursesw.ldscript STATIC_LDSCRIPT= libncursesw.aldscript -CLEANFILES+= ${STATIC_LDSCRIPT} - -libncursesw.aldscript: - @${ECHO} "INPUT(-lncursesw_real -ltinfow)" >$@ libncurses.ldscript: @${ECHO} "INPUT(${SHLIB_NAME} AS NEEDED(-ltinfow))" >$@ diff --git a/lib/ncurses/ncurses/libncursesw.aldscript b/lib/ncurses/ncurses/libncursesw.aldscript new file mode 100644 index 00000000000..dc71bfa0078 --- /dev/null +++ b/lib/ncurses/ncurses/libncursesw.aldscript @@ -0,0 +1 @@ +INPUT(-lncursesw_real -ltinfow) -- 2.33.0