summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2025-01-05 21:47:46 +0100
committerPaul Spooren <mail@aparcar.org>2025-01-05 21:47:46 +0100
commit826a5c9de7d3471bbe224e005d9ef0e0c206aa72 (patch)
tree67cad7b70a36f0d24173f8f307e606e8b90aec8c
parent94cf44d65727534f2b42a38f260a3cb0aed72b88 (diff)
docs: Fix compilation command for macOS
Fixes: #265 "macOS build broken not finding libucode.0.dylib" Suggested-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Paul Spooren <mail@aparcar.org>
-rw-r--r--docs/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/README.md b/docs/README.md
index 016c7f5..df221dc 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -76,7 +76,7 @@ To build on MacOS, first install *cmake* and *json-c* via
$ brew install cmake json-c
$ git clone https://github.com/jow-/ucode.git
$ cd ucode/
- $ cmake -DUBUS_SUPPORT=OFF -DUCI_SUPPORT=OFF -DULOOP_SUPPORT=OFF .
+ $ cmake -DUBUS_SUPPORT=OFF -DUCI_SUPPORT=OFF -DULOOP_SUPPORT=OFF -DCMAKE_BUILD_RPATH=/usr/local/lib -DCMAKE_INSTALL_RPATH=/usr/local/lib .
$ make
$ sudo make install