Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ ifeq ($(SYSTEM),$(filter $(SYSTEM),FreeBSD OpenBSD))
else
ifeq ($(SYSTEM),Darwin)
LIBS+= -liconv
else
ifeq ($(shell uname -o),Android)
LIBS+= -L/data/data/com.termux/files/usr/lib -liconv
endif
endif
endif

Expand Down
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Building

Just running "make" (or "gmake" on BSD systems) should build the cp437 binary.
You'll need iconv, which is provided by glibc on Linux but is provided by the
libiconv port on FreeBSD. As yet I've not tested it on any operating systems
other than those two, although it is reputed to work on OS X and OpenBSD too -
feedback is welcome.
libiconv port on FreeBSD and on Termux. As yet I've not tested it on any
operating systems other than the above, although it is reputed to work on OS X
and OpenBSD too - feedback is welcome.

You can move the binary wherever you like - I suggest $HOME/bin.

Expand Down