Skip to content
Merged
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
23 changes: 21 additions & 2 deletions INTERNALS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
## Build
# Build

## Prerequisites

### MAC OS X

Install the following tools:

```
brew install autoconf automake libtool re2c bison libiconv
```

Add the following to your `~/.bash_profile` or `~/.zshrc`:

```sh
export PATH="$(brew --prefix bison)/bin:$(brew --prefix libiconv)/bin:$PATH"
export LDFLAGS="$LDFLAGS -L$(brew --prefix bison)/lib -L$(brew --prefix libiconv)/lib"
```

Create a new shell session to load the new environment variables.

### Building PHP

Expand Down Expand Up @@ -35,7 +54,7 @@ must be set to adjust the rpath to `$ORIGIN` in the build output.
RUSTFLAGS="-C link-args=-Wl,-rpath,\$ORIGIN" npm run build
```

## Various learnings
# Various learnings

### php://input

Expand Down
Loading