From 826a5c9de7d3471bbe224e005d9ef0e0c206aa72 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Sun, 5 Jan 2025 21:47:46 +0100 Subject: docs: Fix compilation command for macOS Fixes: #265 "macOS build broken not finding libucode.0.dylib" Suggested-by: Felix Fietkau Signed-off-by: Paul Spooren --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3