Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
operating-systems
ws21
assignments
Commits
2e61711c
Commit
2e61711c
authored
Oct 25, 2017
by
Darshit Shah
Browse files
On newer systems -ltinfo needs to be explicitly added to the link flags
parent
95da70e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/bochs-2.6.2-link-tinfo.patch
0 → 100644
View file @
2e61711c
diff --git i/configure w/configure
index be5e0a5..99b2e14 100755
--- i/configure
+++ w/configure
@@ -24739,7 +24739,7 @@
if ${ac_cv_lib_ncurses_mvaddch+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lncurses $LIBS"
+LIBS="-lncurses -ltinfo $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -24770,7 +24770,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_mvaddch" >&5
$as_echo "$ac_cv_lib_ncurses_mvaddch" >&6; }
if test "x$ac_cv_lib_ncurses_mvaddch" = xyes; then :
- GUI_LINK_OPTS_TERM='-lncurses'
+ GUI_LINK_OPTS_TERM='-lncurses -ltinfo'
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvaddch in -ltermlib" >&5
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment