Skip to content

Commit 24ff6a5

Browse files
committed
Update shobj-conf to use TERMCAP_LIB for shared library linking
1 parent d33a49f commit 24ff6a5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
--- a/support/shobj-conf 2025-10-29 21:46:37.876265377 +0800
2+
+++ b/support/shobj-conf 2025-10-29 21:46:46.400261991 +0800
3+
@@ -39,10 +39,10 @@
4+
SHOBJ_LD=
5+
SHOBJ_LDFLAGS=
6+
SHOBJ_XLDFLAGS=
7+
-SHOBJ_LIBS=
8+
+SHOBJ_LIBS='$(TERMCAP_LIB)'
9+
10+
SHLIB_XLDFLAGS=
11+
-SHLIB_LIBS=
12+
+SHLIB_LIBS='$(TERMCAP_LIB)'
13+
14+
SHLIB_DOT='.'
15+
SHLIB_LIBPREF='lib'
16+
@@ -171,7 +171,7 @@
17+
;;
18+
esac
19+
20+
- SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
21+
+ SHLIB_LIBS='$(TERMCAP_LIB)'
22+
;;
23+
24+
openbsd*|netbsd*|mirbsd*)

0 commit comments

Comments
 (0)