diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-01 17:37:24 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-01 17:37:24 -0400 |
| commit | 12345a85d9c7d7a56ddf323247a4bdf347021b73 (patch) | |
| tree | 93bafb42c1ec2c22cc2858936034901c39cbca82 /docs/libraries.md | |
| parent | c778c8822f1c8acf981e26f7b860a384c94cff6f (diff) | |
| parent | adc2d81b5683e611c5f3289be6157d4519a60632 (diff) | |
Merge branch 'main' into optional-list-indexing
Diffstat (limited to 'docs/libraries.md')
| -rw-r--r-- | docs/libraries.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libraries.md b/docs/libraries.md index 69608ae3..79477070 100644 --- a/docs/libraries.md +++ b/docs/libraries.md @@ -151,7 +151,7 @@ that can be used by other Tomo projects. You can build a library by running If you additionally add the `-I` flag, Tomo will copy the entire directory (excluding files and directories that begin with `.` such as `.git`) into -`~/.local/share/tomo_vX.Y/installed/` (where `X` and `Y` are the major/minor +`~/.local/lib/tomo_vX.Y/` (where `X` and `Y` are the major/minor version of the compiler). ### Using Shared Libraries @@ -169,7 +169,7 @@ When you build and install a library, its version is determined from a [Versions](versions.md)). The library's version number is added to the file path where the library is installed, so if the library `foo` has version `v1.2`, then it will be installed to -`~/.local/share/tomo_vX.Y/installed/foo_v1.2/`. When using a library, you must +`~/.local/lib/tomo_vX.Y/foo_v1.2/`. When using a library, you must explicitly supply either the exact version in the `use` statement like this: `use foo_v1.2`, or provide a `modules.ini` file that lists version information and other details about modules being used. For each module, you should provide |
