Skip to content

Commit ccdeb2c

Browse files
authored
Merge pull request #77 from mozilla-spidermonkey/configure-installation
Update build instructions
2 parents 1eb8c50 + aaff533 commit ccdeb2c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/Building SpiderMonkey.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ writable to you without superuser permissions, for example.
4747

4848
```sh
4949
cd js/src
50-
cp ./configure.in ./configure
51-
chmod +x ./configure
5250
mkdir _build
5351
cd _build
5452
../configure --disable-jemalloc --with-system-zlib \
@@ -57,19 +55,21 @@ make
5755
make install # sudo if necessary
5856
```
5957

60-
Add `--prefix=/my/prefix` (where `/my/prefix` is your chosen prefix) to
61-
the `configure` line if you chose a different prefix.
58+
Add `--prefix=/my/installation/dir` to the `configure` line if you chose
59+
a different installation location.
60+
(Where `/my/installation/dir` is your chosen location: for example,
61+
`--prefix=/opt/spidermonkey`.)
6262

6363
If you are building a package for production, omit the `--enable-debug`.
6464

65-
If you picked a different prefix to install into, and that prefix is not
66-
a standard place where libraries are loaded from, you may need to
65+
If you picked a different location to install into, and that location is
66+
not a standard place where libraries are loaded from, you may need to
6767
execute the following when you want to use the SpiderMonkey libraries,
6868
for example when building the examples from this repository.
6969

7070
```sh
71-
export PKG_CONFIG_PATH=/my/prefix/lib/pkgconfig
72-
export LD_LIBRARY_PATH=/my/prefix/lib
71+
export PKG_CONFIG_PATH=/my/installation/dir/lib/pkgconfig
72+
export LD_LIBRARY_PATH=/my/installation/dir/lib
7373
```
7474

7575
### Disabling jemalloc ###

0 commit comments

Comments
 (0)