Commit 89720b7
committed
Merge bitcoin#31543: cmake: Always provide
11115e9 cmake: Always provide `RPATH` on NetBSD (Hennadii Stepanov)
Pull request description:
Apparently, runtime paths cannot be skipped on NetBSD, even for system-wide packages.
On NetBSD 10.0:
- on the master branch @ bb57017:
```
$ cmake -B build -DCMAKE_C_COMPILER="/usr/pkg/gcc14/bin/gcc" -DCMAKE_CXX_COMPILER="/usr/pkg/gcc14/bin/g++"
$ cmake --build build
$ ./build/src/bitcoin-wallet -version
./build/src/bitcoin-wallet: Shared object "libsqlite3.so.0" not found
$ cmake --install build --prefix /home/hebasto/INSTALL
$ /home/hebasto/INSTALL/bin/bitcoin-wallet -version
/home/hebasto/INSTALL/bin/bitcoin-wallet: Shared object "libsqlite3.so.0" not found
```
- with this PR:
```
$ cmake -B build -DCMAKE_C_COMPILER="/usr/pkg/gcc14/bin/gcc" -DCMAKE_CXX_COMPILER="/usr/pkg/gcc14/bin/g++"
$ cmake --build build
$ ./build/src/bitcoin-wallet -version | head -1
Bitcoin Core bitcoin-wallet utility version v28.99.0-11115e9aa845
$ cmake --install build --prefix /home/hebasto/INSTALL
$ /home/hebasto/INSTALL/bin/bitcoin-wallet -version | head -1
Bitcoin Core bitcoin-wallet utility version v28.99.0-11115e9aa845
```
ACKs for top commit:
theuni:
utACK bitcoin@11115e9
Tree-SHA512: c9cd5d8c65fcf12677c381060dd53794396b7cd3e61ec39d3c5dadd7cdc08ab9790c59aa346402d53f8f9f317830919edf7f8135a6c0d5703c3bd9e519b157a4RPATH on NetBSD1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
584 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
585 | 590 | | |
586 | 591 | | |
587 | 592 | | |
| |||
0 commit comments