Skip to content

Commit 4b19cee

Browse files
committed
build: Add example libpisp.wrap file.
Update the link instructions in the documentation to point to this file. Signed-off-by: Naushir Patuck <[email protected]>
1 parent 2c8b00e commit 4b19cee

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ sudo meson install -C <build_dir>
1717
```
1818

1919
## Linking libpisp with an application
20-
libpisp can be built and linked as a [meson subproject](https://mesonbuild.com/Subprojects.html) with the following dependency declaration in the target project:
20+
libpisp can be built and linked as a [meson subproject](https://mesonbuild.com/Subprojects.html) by using an appropriate [libpisp.wrap](utils/libpisp.wrap) file and the following dependency declaration in the target project:
2121
```meson
2222
libpisp_dep = dependency('libpisp', fallback : ['libpisp', 'libpisp_dep'])
2323
```
24-
Alternatively [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) can be used to locate ``libpisp.so`` installed in on of the system directories for other build environments.
24+
25+
Alternatively [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) can be used to locate ``libpisp.so`` installed in of the system directories for other build environments.
2526

2627
## License
2728
Copyright © 2023, Raspberry Pi Ltd. Released under the BSD-2-Clause License.

utils/libpisp.wrap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-License-Identifier: CC0-1.0
2+
3+
[wrap-git]
4+
url = https://github.com/raspberrypi/libpisp.git
5+
revision = v1.0.0
6+
depth = 1

0 commit comments

Comments
 (0)