Rebuild the scripts without PKG_CONFIG_PATH hacks.

This commit is contained in:
Elliot Glaysher 2018-04-03 11:15:17 -07:00
parent 34950b696e
commit b933204492
3 changed files with 12 additions and 5 deletions

View File

@ -48,11 +48,9 @@ are included as git submodules. To build urbit from source, perform the followin
(For instructions for legacy meson, also see below)
1. Install all required dependencies.
2. `git submodule init` in the urbit repository
3. `git submodule update`
4. `meson ./build`
5. If the last step was successful, type `ninja -C build` to compile urbit.
6. The executable should appear in `./build` directory.
2. Run `./scripts/bootstrap`
3. Run `./scripts/build`
4. The executable should appear in `./build` directory.
### Using meson & ninja
To configure project, enter the build directory and enter

4
scripts/bootstrap Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
git submodule init
git submodule update

5
scripts/build Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
mkdir ./build &> /dev/null
meson . ./build
ninja -C build