projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
186ba83
)
Correct Cross compiling commandline
author
Yongwen Zhuang
<zYeoman@users.noreply.github.com>
Wed, 15 Feb 2017 09:58:39 +0000
(17:58 +0800)
committer
Andy Green
<andy@warmcat.com>
Sat, 18 Feb 2017 09:27:22 +0000
(17:27 +0800)
README.build.md
patch
|
blob
|
history
diff --git
a/README.build.md
b/README.build.md
index
71c73c1
..
58ffcc7
100644
(file)
--- a/
README.build.md
+++ b/
README.build.md
@@
-405,7
+405,7
@@
The commandline to configure for cross with this would look like
```
$ cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_TOOLCHAIN_FILE=../cross-arm-linux-gnueabihf.cmake \
- -D
WITHOUT_EXTENSIONS=1 -D
WITH_SSL=0
+ -D
LWS_WITHOUT_EXTENSIONS=1 -DLWS_
WITH_SSL=0
```
The example shows how to build with no external cross lib dependencies, you
need to provide the cross libraries otherwise.