Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
get termcap library name from the readline's configure
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed May 1, 2019
1 parent 79e37a0 commit 6828f7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/readline/patches/0002-ltinfo.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
SHOBJ_LDFLAGS=
SHOBJ_XLDFLAGS=
-SHOBJ_LIBS=
+SHOBJ_LIBS='-ltinfo'
+SHOBJ_LIBS='$(TERMCAP_LIB)'

SHLIB_XLDFLAGS=
-SHLIB_LIBS=
+SHLIB_LIBS='-ltinfo'
+SHLIB_LIBS='$(TERMCAP_LIB)'

SHLIB_DOT='.'
SHLIB_LIBPREF='lib'
Expand All @@ -18,7 +18,7 @@
esac

- SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
+ SHLIB_LIBS='-ltinfo -lncurses' # see if -lcurses works on MacOS X 10.1
+ SHLIB_LIBS='$(TERMCAP_LIB)'
;;

openbsd*|netbsd*|mirbsd*)

0 comments on commit 6828f7a

Please sign in to comment.