Skip to content
master
Switch branches/tags
Code

Latest commit

This fixes the following issues:
* linked objects do not use LDFLAGS
* pkg-config is not queried appropriately depending on the desired linkage
* there's no way to configure/deconfigure static linking
  (except by setting LDFLAGS, which won't work due to the prior two)

There are many ways of fixing these, but I went for the minimally intrusive approach:
* any linked objects have `$(LDFLAGS)` in front of `$(LIBS)`
* configure has a --static and --dynamic flag
* --static is added to ldflags only if selected
cd3c3a4

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jun 10, 2018

mrsh

A minimal POSIX shell.

  • POSIX compliant, no less, no more
  • Simple, readable code without magic
  • Library to build more elaborate shells

This project is a work in progress.

Build

Both Meson and POSIX make are supported. To use Meson:

meson build/
ninja -C build/
build/mrsh

To use POSIX make:

./configure
make
./mrsh

Contributing

Either send GitHub pull requests or send patches on the mailing list.

License

MIT