mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
ncurses: fix path where to find curses.h at bootstrap
after the split, curses.h is now generated by tinfo Makefile, but still used for a file generated in ncurses lib. Adjust the path to make sure curses.h is always found
This commit is contained in:
parent
16f1ee11e6
commit
27803b54db
|
@ -173,9 +173,9 @@ SHLIB_LDSCRIPT= libncursesw.ldscript
|
|||
libncurses.ldscript:
|
||||
@${ECHO} "INPUT(${SHLIB_NAME} AS NEEDED(-ltinfow))" >$@
|
||||
|
||||
lib_gen.c: MKlib_gen.sh curses.h ncurses_dll.h
|
||||
lib_gen.c: MKlib_gen.sh ${.OBJDIR:H}/tinfo/curses.h ncurses_dll.h
|
||||
LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CPP:N${CCACHE_BIN}} ${CFLAGS}" \
|
||||
"${AWK}" generated < curses.h >$@
|
||||
"${AWK}" generated < ${.OBJDIR:H}/tinfo/curses.h >$@
|
||||
|
||||
expanded.c: MKexpanded.sh
|
||||
sh ${NCURSES_DIR}/ncurses/tty/MKexpanded.sh "${CC:N${CCACHE_BIN}} -E" ${CFLAGS} >expanded.c
|
||||
|
|
Loading…
Reference in a new issue