Remove libbsd and libdl as a runtime dependency in readme

Now the functions needed from libbsd are supplied by util.c,
and libdl is built into libc. Linking with -ldl causes errors
on some BSDs anyway.
This commit is contained in:
Jeremy Baxter 2023-06-27 12:35:21 +12:00
parent 6aa4b6de39
commit 2cb636f59d

View file

@ -31,13 +31,11 @@ your system's default C compiler. This should be gcc on Linux, and
clang on most of the BSDs. If *cc* doesn't exist on your system, clang on most of the BSDs. If *cc* doesn't exist on your system,
change the `CC` variable in the Makefile to your desired C compiler. change the `CC` variable in the Makefile to your desired C compiler.
At runtime you will need the following libraries: At runtime you will need only these two libraries:
- libdl: for loading C modules
- libm: basic math operations - libm: basic math operations
- libreadline: REPL history - libreadline: REPL history
- (Linux only) libbsd: Utility functions from BSD operating systems
All of these are very common and should be already installed on Both of these are very common and should be already installed on
your machine. your machine.
## Installation ## Installation