Skip to content

Commit d1ff7f7

Browse files
committed
change readme
1 parent 6b71dc0 commit d1ff7f7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,18 @@ The following build events are included in the project file:
4949
- Post-Build event (`demo`): `copy $(ProjectDir)lib\play_cpp_sdk.dll $(TargetDir)`
5050

5151
### Mac
52-
1. Clone the current repository
52+
1. Clone the current repository
5353
``` sh
5454
git clone https://github.com/crypto-com/play-cpp-sdk.git
5555
```
5656
2. Unzip the archive file into `demo` folder
57-
3. Copy the dynamic library to `/usr/local/lib`
57+
3. Copy the dynamic library to your dylib folder, for example $HOME/lib
5858
``` sh
5959
cd demo
60-
cp lib/libplay_cpp_sdk.dylib /usr/local/lib
60+
cp lib/libplay_cpp_sdk.dylib $HOME/lib
61+
export DYLD_LIBRARY_PATH=$HOME/lib
6162
```
63+
or add `-rpath $HOME/lib` in final gcc linker flags.
6264
4. Under `demo` folder and build the `demo` project
6365
``` sh
6466
make

0 commit comments

Comments
 (0)