get Teliva working on FreeBSD

This commit is contained in:
Kartik K. Agaram 2022-01-26 09:35:22 -08:00
parent cbe85a18c7
commit b493ed32b8
2 changed files with 6 additions and 3 deletions

View File

@ -49,8 +49,9 @@ OS and package manager of choice:
* `sudo apt install libncursesw6-dev openssl`
* `brew install ncurses openssl`
So far I've tested Teliva on Linux, Mac OS X, OpenBSD and NetBSD; it should work
on other flavors of BSD, WSL on Windows, etc. with only minor modifications.
So far I've tested Teliva on Linux, Mac OS X, OpenBSD, NetBSD and FreeBSD; it
should work on other flavors of BSD, WSL on Windows, etc. with only minor
modifications.
## What else can it do?

View File

@ -85,7 +85,9 @@ ansi:
$(MAKE) all MYCFLAGS=-DLUA_ANSI
freebsd:
$(MAKE) all MYCFLAGS="-DLUA_USE_LINUX" MYLIBS="-Wl,-E"
$(MAKE) -C luasocket bsd
$(MAKE) -C luasec bsd
$(MAKE) all MYCFLAGS="-DLUA_USE_LINUX" MYLIBS="-Wl,-E -lncursesw"
generic:
$(MAKE) all MYCFLAGS=