Skip to content

Commit

Permalink
README: Fix build instructions (#41)
Browse files Browse the repository at this point in the history
The p/ directory no longer exists.
Also avoid calling meson without subcommand, which is ambiguous and deprecated.
  • Loading branch information
jtojnar authored and wargio committed Feb 11, 2024
1 parent 67a0690 commit 2d5c43b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@ Requires [rizin](https://github.com/rizinorg/rizin).

If you want to install in the HOME folder or in other non standard paths, just
set the `prefix` to a different value
- Run `cd p`
- Run ``meson --prefix=~/.local build``
- Run ``meson setup build --prefix=~/.local``
- Run `ninja -C build install`

# Install system wide

Follow the following steps to install jsdec
- clone this repository
- Run `cd p`
- Run `meson --prefix=/usr build` to create the build folder
- Run `meson setup build --prefix=/usr` to create the build folder
- Run `ninja -C build install` to build the shared library and to install it

# Usage
Expand Down

0 comments on commit 2d5c43b

Please sign in to comment.