mosh: Link against libutil for openpty and forkpty
[termux-packages] / packages / mosh / makefile.am.patch
1 diff -u -r ../mosh-f30738e3256e90850e945c08624fce90b1ba78a1/src/frontend/Makefile.am ./src/frontend/Makefile.am
2 --- ../mosh-f30738e3256e90850e945c08624fce90b1ba78a1/src/frontend/Makefile.am 2016-04-07 20:26:08.000000000 -0400
3 +++ ./src/frontend/Makefile.am 2016-05-02 01:20:09.868867123 -0400
4 @@ -11,9 +11,15 @@
5 bin_PROGRAMS += mosh-client
6 endif
7
8 +if BUILD_CFRONT
9 + bin_PROGRAMS += mosh-cfront
10 +endif
11 +
12 if BUILD_SERVER
13 bin_PROGRAMS += mosh-server
14 endif
15
16 mosh_client_SOURCES = mosh-client.cc stmclient.cc stmclient.h terminaloverlay.cc terminaloverlay.h
17 mosh_server_SOURCES = mosh-server.cc
18 +mosh_cfront_SOURCES = mosh.cc
19 +mosh_cfront_LDADD = -lutil